blitz icon indicating copy to clipboard operation
blitz copied to clipboard

blitz::epsilon(__float128) = 0

Open slayoo opened this issue 7 years ago • 1 comments
trafficstars

Migrated from: https://sourceforge.net/p/blitz/bugs/67/

$ cat bug.cpp
#include <blitz/array.h>
#include <quadmath.h>

int main()
{
printf("%Qe\n", blitz::epsilon(__float128(0)));
}
$ g++ -lquadmath bug.cpp
$ ./a.out
0.000000e+00

slayoo avatar Sep 21 '18 18:09 slayoo

Somehow related: https://github.com/blitzpp/blitz/pull/45

slayoo avatar Sep 22 '18 06:09 slayoo