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