Searched refs:roundIncrement (Results 1 - 2 of 2) sorted by relevance

/openbsd-current/sys/lib/libkern/
H A Dsoftfloat.c127 int8 roundIncrement, roundBits; local
132 roundIncrement = 0x40;
135 roundIncrement = 0;
138 roundIncrement = 0x7F;
140 if ( roundingMode == float_round_up ) roundIncrement = 0;
143 if ( roundingMode == float_round_down ) roundIncrement = 0;
148 absZ = ( absZ + roundIncrement )>>7;
364 int8 roundIncrement, roundBits; local
369 roundIncrement = 0x40;
372 roundIncrement
534 int16 roundIncrement, roundBits; local
712 int64 roundIncrement, roundMask, roundBits; local
[all...]
/openbsd-current/lib/libc/softfloat/
H A Dsoftfloat.c203 int8 roundIncrement, roundBits; local
208 roundIncrement = 0x40;
211 roundIncrement = 0;
214 roundIncrement = 0x7F;
216 if ( roundingMode == float_round_up ) roundIncrement = 0;
219 if ( roundingMode == float_round_down ) roundIncrement = 0;
227 && ( (sbits32) ( zSig + roundIncrement ) < 0 ) )
230 return packFloat32( zSign, 0xFF, 0 ) - ( roundIncrement == 0 );
236 || ( zSig + roundIncrement < 0x80000000 );
244 zSig = ( zSig + roundIncrement )>>
[all...]

Completed in 106 milliseconds