common.h File Reference

#include <sftypes.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.


Detailed Description

Definition in file common.h.


Generated on Thu Jun 2 07:45:51 2011 for HelenOS/USB by  doxygen 1.4.7