@@ -13,10 +13,11 @@ SUITE( fbc_tests.numbers.infnan )
1313 const NEGNAND = &hFFF8000000000000ul l
1414
1515 #macro checkD( d, x )
16- ' The sign bit for NaN results is unspecified by IEEE754,
17- ' and x86 and ARM differ in its selection.
16+ '' The sign bit for NaN results is unspecified by IEEE754,
17+ '' and x86 and ARM differ in its selection.
18+ '' Appears to be ditto for emscripten
1819 '' Little-endian assumption casting double ptr to ulongint ptr
19- #ifdef __FB_ARM__
20+ # if defined( __FB_ARM__ ) or defined( __FB_JS__ )
2021 # if ( (x = NEGNAND) or (x = POSNAND) )
2122 CU_ASSERT( ((*cptr( ulongint ptr, @d )) and SGNMASK) = POSNAND )
2223 # else
@@ -120,10 +121,11 @@ SUITE( fbc_tests.numbers.infnan )
120121 const NEGNANF = &hFFC00000 u
121122
122123 #macro checkF( f, x )
123- ' The sign bit for NaN results is unspecified by IEEE754,
124- ' and x86 and ARM differ in its selection.
124+ '' The sign bit for NaN results is unspecified by IEEE754,
125+ '' and x86 and ARM differ in its selection.
126+ '' Appears to be ditto for emscripten
125127 '' Little-endian assumption casting double ptr to ulongint ptr
126- #ifdef __FB_ARM__
128+ # if defined( __FB_ARM__ ) or defined( __FB_JS__ )
127129 # if ( (x = NEGNANF) or (x = POSNANF) )
128130 CU_ASSERT( ((*cptr( ulong ptr, @f )) and SGNMASK) = POSNANF )
129131 # else
0 commit comments