projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor improvements, code cleanup and license clarification
[fw/sdcc]
/
device
/
lib
/
modff.c
diff --git
a/device/lib/modff.c
b/device/lib/modff.c
index ace1565b6e772db5bf19154366e7000ad121d589..46828764275735ff65e851b0030eaba44823ccf5 100644
(file)
--- a/
device/lib/modff.c
+++ b/
device/lib/modff.c
@@
-22,6
+22,6
@@
float modff(float x, float * y)
{
- *y=(
(int)x)
;
+ *y=(
long)x
;
return (x-*y);
}