mirror of https://github.com/flysand7/ciabatta.git
bababbababababababa
This commit is contained in:
parent
b414343f52
commit
a16e2d5a6e
|
@ -1,10 +0,0 @@
|
|||
|
||||
#define asuint64(x) ((union {double f; uint64_t i;}){x}).i
|
||||
#define asdouble(x) ((union {double f; uint64_t i;}){x}).f
|
||||
|
||||
#include <_compiler.h>
|
||||
#if defined(_compiler_clang) || defined(_compiler_gnu)
|
||||
#define just_do_it(t) __attribute__((unused)) volatile t
|
||||
#else
|
||||
#define just_do_it(t) volatile t
|
||||
#endif
|
|
@ -5,7 +5,15 @@
|
|||
#include <float.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "_util.h"
|
||||
#define asuint64(x) ((union {double f; uint64_t i;}){x}).i
|
||||
#define asdouble(x) ((union {double f; uint64_t i;}){x}).f
|
||||
|
||||
#include <_compiler.h>
|
||||
#if defined(_compiler_clang) || defined(_compiler_gcc)
|
||||
#define just_do_it(t) __attribute__((unused)) volatile t
|
||||
#else
|
||||
#define just_do_it(t) volatile t
|
||||
#endif
|
||||
|
||||
double nearbyint(double x) {
|
||||
#pragma STDC FENV_ACCESS ON
|
||||
|
|
Loading…
Reference in New Issue