diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib9/frexp.c | 9 | ||||
-rw-r--r-- | src/lib9/mkfile | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/lib9/frexp.c b/src/lib9/frexp.c new file mode 100644 index 00000000..fe3e2f73 --- /dev/null +++ b/src/lib9/frexp.c @@ -0,0 +1,9 @@ +#include <u.h> +#define NOPLAN9DEFINES +#include <libc.h> + +double +p9frexp(double d, int *i) +{ + return frexp(d, i); +} diff --git a/src/lib9/mkfile b/src/lib9/mkfile index 943b597b..7c37de42 100644 --- a/src/lib9/mkfile +++ b/src/lib9/mkfile @@ -22,6 +22,7 @@ FMTOFILES=\ fmtstr.$O\ fmtvprint.$O\ fprint.$O\ + frexp.$O\ nan64.$O\ print.$O\ runefmtstr.$O\ |