Subversion Repositories HelenOS-historic

Rev

Rev 875 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 875 Rev 1031
Line 29... Line 29...
29
#ifndef __COMMON_H__
29
#ifndef __COMMON_H__
30
#define __COMMON_H__
30
#define __COMMON_H__
31
 
31
 
32
#include<sftypes.h>
32
#include<sftypes.h>
33
 
33
 
34
float64 finishFloat64(__s32 cexp, __u64 cfrac, char sign);
34
float64 finishFloat64(int32_t cexp, uint64_t cfrac, char sign);
35
 
35
 
36
int countZeroes64(__u64 i);
36
int countZeroes64(uint64_t i);
37
int countZeroes32(__u32 i);
37
int countZeroes32(uint32_t i);
38
int countZeroes8(__u8 i);
38
int countZeroes8(uint8_t i);
39
 
39
 
40
void roundFloat32(__s32 *exp, __u32 *fraction);
40
void roundFloat32(int32_t *exp, uint32_t *fraction);
41
void roundFloat64(__s32 *exp, __u64 *fraction);
41
void roundFloat64(int32_t *exp, uint64_t *fraction);
42
 
42
 
43
#endif
43
#endif