#include <assert.h>
#include <float.h>
#include <limits>
#include <math.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <x86intrin.h>
Go to the source code of this file.
|
| const size_t | fmath::local::EXP_TABLE_SIZE = 10 |
| const size_t | fmath::local::EXPD_TABLE_SIZE = 11 |
| const size_t | fmath::local::LOG_TABLE_SIZE = 12 |
| template<size_t EXP_N, size_t LOG_N, size_t EXPD_N> |
| const ExpVar< EXP_N > | fmath::local::C< EXP_N, LOG_N, EXPD_N >::expVar |
| template<size_t EXP_N, size_t LOG_N, size_t EXPD_N> |
| const LogVar< LOG_N > | fmath::local::C< EXP_N, LOG_N, EXPD_N >::logVar |
| template<size_t EXP_N, size_t LOG_N, size_t EXPD_N> |
| const ExpdVar< EXPD_N > | fmath::local::C< EXP_N, LOG_N, EXPD_N >::expdVar |
◆ __GNUC_PREREQ
| #define __GNUC_PREREQ |
( |
| major, |
|
|
| minor ) |
Value: ((((__GNUC__) << 16) + (__GNUC_MINOR__)) >= (((major) << 16) + (minor)))
@brief fast math library for float
@author herumi
@url https://github.com/herumi/fmath/
@note modified new BSD license
http://opensource.org/licenses/BSD-3-Clause
cl /Ox /Ob2 /arch:SSE2 /fp:fast bench.cpp -I../xbyak /EHsc /DNOMINMAX
g++ -O3 -fomit-frame-pointer -fno-operator-names -march=core2 -mssse3
-mfpmath=sse -ffast-math -fexcess-precision=fast
◆ MIE_ALIGN
◆ MIE_PACK
| #define MIE_PACK |
( |
| x, |
|
|
| y, |
|
|
| z, |
|
|
| w ) |