#include <sftypes.h>#include <common.h>Go to the source code of this file.
Functions | |
| int | countZeroes32 (uint32_t i) |
| Counts leading zeroes in 32bit unsigned integer. | |
| int | countZeroes64 (uint64_t i) |
| Counts leading zeroes in 64bit unsigned integer. | |
| int | countZeroes8 (uint8_t i) |
| Counts leading zeroes in byte. | |
| float64 | finishFloat64 (int32_t cexp, uint64_t cfrac, char sign) |
| Take fraction shifted by 10 bits to left, round it, normalize it and detect exceptions. | |
| void | roundFloat32 (int32_t *exp, uint32_t *fraction) |
| Round and normalize number expressed by exponent and fraction with first bit (equal to hidden bit) at 30. | |
| void | roundFloat64 (int32_t *exp, uint64_t *fraction) |
| Round and normalize number expressed by exponent and fraction with first bit (equal to hidden bit) at 62. | |
Variables | |
| char | zeroTable [256] |
Definition in file common.c.
1.4.7