X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Ffloat.h;h=713aadb906d9565f9a9d6bb408dd506b8a98e74c;hb=bdb5454065f74b0f6b5ddd8ee39f83d6303c97bb;hp=161e167c0e1f1221505842f5dc78daa79acbe243;hpb=18dde0071334e2e7f71972b80df7779280c801cf;p=musl diff --git a/include/float.h b/include/float.h index 161e167c..713aadb9 100644 --- a/include/float.h +++ b/include/float.h @@ -1,6 +1,13 @@ #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 @@ -38,4 +45,8 @@ #include +#ifdef __cplusplus +} +#endif + #endif