Skip to content

Commit

Permalink
remove environment module creation from Makefile.am; remove function …
Browse files Browse the repository at this point in the history
…causing weird compile error in xextprec.h
  • Loading branch information
astrobit committed May 20, 2020
1 parent 1a6162e commit a996cfd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ SUBDIRS = xstdlib xio xmath xastro xcpp xflash xtime testing xtools
#everything below here creates a module for xlibs in the user's privatemodules directory (if it exists) or in the data directory
# it will create a .lua module for lmod, and a regular module file for env. modules.
# the module will be created in a directory called ${PACKAGE_NAME} and have a filename of ${PACKAGE_VERSION}. This is the format used by modules for versioning.
if INSTALLMOD
if HAVEENVMOD
modfile_DATA = ${PACKAGE_VERSION}
else
modfile_DATA = ${PACKAGE_VERSION}.lua
endif
endif
#if INSTALLMOD
#if HAVEENVMOD
#modfile_DATA = ${PACKAGE_VERSION}
#else
#modfile_DATA = ${PACKAGE_VERSION}.lua
#endif
#endif

#MODFILEINSTPATH=`echo ${modfiledir}"/"${PACKAGE_NAME}`
#
Expand Down
10 changes: 5 additions & 5 deletions xmath/include/xextprec.h
Original file line number Diff line number Diff line change
Expand Up @@ -844,13 +844,13 @@ class expdouble
inline bool isnormal(void) const
{
//pbin(m_nMantissa);
return (iszero() || (isfinite() && ((m_nMantissa & highbit64) == highbit64)));
return (iszero() || (isfinite() && ((m_nMantissa & highbit64) != 0)));
}
inline bool issubnormal(void) const
{
// inline bool issubnormal(void) const
// {
//pbin(m_nMantissa);
return (iszero() || (isfinite() && ((m_nMantissa & highbit64) != highbit64)));
}
// return (iszero() || (isfinite() && ((m_nMantissa & highbit64) == 0)));
// }
inline bool signbit(void) const
{
return ((m_nExponent & highbit64) == highbit64);
Expand Down

0 comments on commit a996cfd

Please sign in to comment.