Home
last modified time | relevance | path

Searched refs:nextUp (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/math/
H A Doperations.d284 real nextUp(real x) @trusted pure nothrow @nogc in nextUp() function
302 delta = (cast(real) nextUp(d) - cast(real) d) * 0x1p-11L; in nextUp()
328 return nextUp(cast(double) x); in nextUp()
422 double nextUp(double x) @trusted pure nothrow @nogc in nextUp() function
449 float nextUp(float x) @trusted pure nothrow @nogc in nextUp() function
481 assert(nextUp(1.0 - 1.0e-6).feqrel(0.999999) > 16);
482 assert(nextUp(1.0 - real.epsilon).feqrel(1.0) > 16);
502 return -nextUp(-x); in nextDown()
508 return -nextUp(-x); in nextDown()
514 return -nextUp(-x); in nextDown()
[all …]
H A Dexponential.d2684 import std.math.operations : nextUp;
2715 assert(ilogb(nextUp(-float.min_normal)) == -127);
2716 assert(ilogb(nextUp(-float(0.0))) == -149);
2718 assert(ilogb(nextUp(-double.min_normal)) == -1023);
2719 assert(ilogb(nextUp(-double(0.0))) == -1074);
2723 assert(ilogb(nextUp(-real.min_normal)) == -16383);
2724 assert(ilogb(nextUp(-real(0.0))) == -16445);
2729 assert(ilogb(nextUp(-real.min_normal)) == -1023);
2730 assert(ilogb(nextUp(-real(0.0))) == -1074);
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/format/internal/
H A Dfloats.d226 import std.math.operations : nextUp;
228 assert(printFloat(nextUp(0.0f), f) == "0x0.000002p-126");
233 assert(printFloat(nextUp(0.0), f) == "0x0.0000000000001p-1022");
240 assert(printFloat(nextUp(0.0L), f) == "0x0.0000000000000002p-16382");
1100 import std.math.operations : nextUp, nextDown;
1101 assert(printFloat(nextUp(0.0f), f) == "1.401298e-45");
1132 import std.math.operations : nextUp, nextDown;
1133 assert(printFloat(nextUp(0.0f), f) == " 1.4012984643e-45");
1165 import std.math.operations : nextUp, nextDown;
1166 assert(printFloat(nextUp(0.0f), f) == "1.4012984643e-45 ");
[all …]
H A Dwrite.d655 import std.math.operations : nextUp;
668 enum doubleLowest = nextUp(0.0);
866 import std.math.operations : nextUp;
868 assert(format!"%a"(nextUp(0.0f)) == "0x0.000002p-126");
869 assert(format!"%a"(nextUp(0.0)) == "0x0.0000000000001p-1022");
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dmath.d3122 assert(ilogb(nextUp(-float.min_normal)) == -127);
3123 assert(ilogb(nextUp(-float(0.0))) == -149);
3125 assert(ilogb(nextUp(-double.min_normal)) == -1023);
3126 assert(ilogb(nextUp(-double(0.0))) == -1074);
3130 assert(ilogb(nextUp(-real.min_normal)) == -16383);
3131 assert(ilogb(nextUp(-real(0.0))) == -16445);
3136 assert(ilogb(nextUp(-real.min_normal)) == -1023);
3137 assert(ilogb(nextUp(-real(0.0))) == -1074);
6387 real nextUp(real x) @trusted pure nothrow @nogc
6392 return nextUp(cast(double) x);
[all …]
H A Dnumeric.d1008 while (!done && (b != nextUp(a)) && !tolerance(a, b))
1044 c = nextUp(a);
1071 if (done || ( b == nextUp(a)) || tolerance(a, b))
1118 if (done || (b == nextUp(a)) || tolerance(a, b))
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DRDFGraph.h679 Iterator &up() { Pos = DS.nextUp(Pos); return *this; } in up()
725 unsigned nextUp(unsigned P) const;
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dbigint.d741 import std.math.operations : nextDown, nextUp;
751 assert(x != nextUp(d));
759 assert(x != nextUp(dL));
H A Dnumeric.d1306 while (!done && (b != nextUp(a)) && !tolerance(a, b))
1342 c = nextUp(a);
1369 if (done || ( b == nextUp(a)) || tolerance(a, b))
1416 if (done || (b == nextUp(a)) || tolerance(a, b))
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DRDFGraph.cpp717 unsigned DataFlowGraph::DefStack::nextUp(unsigned P) const { in nextUp() function in DataFlowGraph::DefStack
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/range/
H A Dpackage.d5646 import std.math : approxEqual, nextUp, nextDown;
5726 rf = iota(0.0, nextUp(0.5), 0.1);
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/range/
H A Dpackage.d6608 import std.math.operations : isClose, nextUp, nextDown;
6688 rf = iota(0.0, nextUp(0.5), 0.1);
/netbsd-src/external/lgpl3/mpfr/dist/doc/
H A Dmpfr.info2807 is similar to the nextUp and nextDown operations from IEEE 754
H A Dmpfr.texi3462 similar to the nextUp and nextDown operations from IEEE 754 (introduced
/netbsd-src/external/lgpl3/mpfr/dist/
H A DChangeLog1766 similar functions (nextafter, nextUp, nextDown).