53 bool isSigNaNA, isSigNaNB;
63 uiNonsigA = uiA |
UINT64_C( 0x0008000000000000 );
64 uiNonsigB = uiB |
UINT64_C( 0x0008000000000000 );
67 if ( isSigNaNA | isSigNaNB ) {
70 if ( isSigNaNB )
goto returnLargerMag;
71 return isNaNF64UI( uiB ) ? uiNonsigB : uiNonsigA;
73 return isNaNF64UI( uiA ) ? uiNonsigA : uiNonsigB;
77 uiMagA = uiA &
UINT64_C( 0x7FFFFFFFFFFFFFFF );
78 uiMagB = uiB &
UINT64_C( 0x7FFFFFFFFFFFFFFF );
79 if ( uiMagA < uiMagB )
return uiNonsigB;
80 if ( uiMagB < uiMagA )
return uiNonsigA;
81 return (uiNonsigA < uiNonsigB) ? uiNonsigA : uiNonsigB;