Searched refs:zExp (Results 1 – 2 of 2) sorted by relevance
| /openbsd-src/sys/lib/libkern/ |
| H A D | softfloat.c | 330 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32() argument 333 return ( ( (bits32) zSign )<<31 ) + ( ( (bits32) zExp )<<23 ) + zSig; in packFloat32() 360 static float32 roundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in roundAndPackFloat32() argument 385 if ( 0xFD <= (bits16) zExp ) { in roundAndPackFloat32() 386 if ( ( 0xFD < zExp ) in roundAndPackFloat32() 387 || ( ( zExp == 0xFD ) in roundAndPackFloat32() 393 if ( zExp < 0 ) { in roundAndPackFloat32() 396 || ( zExp < -1 ) in roundAndPackFloat32() 398 shift32RightJamming( zSig, - zExp, &zSig ); in roundAndPackFloat32() 399 zExp = 0; in roundAndPackFloat32() [all …]
|
| /openbsd-src/lib/libc/softfloat/ |
| H A D | softfloat.c | 169 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32() argument 172 return ( ( (bits32) zSign )<<31 ) + ( ( (bits32) zExp )<<23 ) + zSig; in packFloat32() 199 static float32 roundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in roundAndPackFloat32() argument 224 if ( 0xFD <= (bits16) zExp ) { in roundAndPackFloat32() 225 if ( ( 0xFD < zExp ) in roundAndPackFloat32() 226 || ( ( zExp == 0xFD ) in roundAndPackFloat32() 232 if ( zExp < 0 ) { in roundAndPackFloat32() 235 || ( zExp < -1 ) in roundAndPackFloat32() 237 shift32RightJamming( zSig, - zExp, &zSig ); in roundAndPackFloat32() 238 zExp = 0; in roundAndPackFloat32() [all …]
|