| 696 | *----------------------------------------------------------------------------*/ |
| 697 | |
| 698 | static void |
| 699 | normalizeFloat32Subnormal(uint32_t aSig, int *zExpPtr, uint32_t *zSigPtr) |
| 700 | { |
| 701 | int8_t shiftCount; |
| 702 | |
| 703 | shiftCount = countLeadingZeros32( aSig ) - 8; |
| 704 | *zSigPtr = aSig<<shiftCount; |
| 705 | *zExpPtr = 1 - shiftCount; |
| 706 | |
| 707 | } |
| 708 | |
| 709 | /*---------------------------------------------------------------------------- |
| 710 | | Packs the sign `zSign', exponent `zExp', and significand `zSig' into a |
no test coverage detected