projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math: fix undefined shift in logf
[musl]
/
include
/
float.h
diff --git
a/include/float.h
b/include/float.h
index
161e167
..
713aadb
100644
(file)
--- a/
include/float.h
+++ b/
include/float.h
@@
-1,6
+1,13
@@
#ifndef _FLOAT_H
#define _FLOAT_H
#ifndef _FLOAT_H
#define _FLOAT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int __flt_rounds(void);
+#define FLT_ROUNDS (__flt_rounds())
+
#define FLT_RADIX 2
#define FLT_TRUE_MIN 1.40129846432481707092e-45F
#define FLT_RADIX 2
#define FLT_TRUE_MIN 1.40129846432481707092e-45F
@@
-38,4
+45,8
@@
#include <bits/float.h>
#include <bits/float.h>
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif