projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8542b03907475de4b31bf6283d8b4b24bfb6583e
[fw/sdcc]
/
device
/
lib
/
_fs2uint.c
1
#include <_float.h>
2
3
/* convert float to unsigned int */
4
unsigned int __fs2uint (float f) {
5
unsigned long ul=__fs2ulong(f);
6
if (ul>=UINT_MAX) return UINT_MAX;
7
return ul;
8
}
9