Home
last modified time | relevance | path

Searched refs:ulp (Results 1 – 25 of 31) sorted by relevance

12

/external/vulkan-validation-layers/libs/glm/gtc/
Dulp.inl24 /// @file glm/gtc/ulp.inl
116 if(hx>hy) { // x > y, x -= ulp
118 } else { // x < y, x += ulp
122 if(hy>=0||hx>hy){ // x < y, x -= ulp
124 } else { // x > y, x += ulp
162 if(hx>hy||((hx==hy)&&(lx>ly))) { // x > y, x -= ulp
165 } else { // x < y, x += ulp
170 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){// x < y, x -= ulp
173 } else { // x > y, x += ulp
302 uint ulp = 0; local
[all …]
/external/ipsec-tools/src/racoon/
Dpolicy.h112 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, _priority, _created, idx) \ argument
118 (idx)->ul_proto = (ulp); \
125 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, _created, idx) \ argument
131 (idx)->ul_proto = (ulp); \
/external/ipsec-tools/src/libipsec/
Dpfkey_dump.c695 str_prefport(family, pref, port, ulp) in str_prefport() argument
696 u_int family, pref, port, ulp; in str_prefport()
719 if (ulp == IPPROTO_ICMPV6)
734 str_upperspec(ulp, p1, p2) in str_upperspec() argument
735 u_int ulp, p1, p2; in str_upperspec()
737 if (ulp == IPSEC_ULPROTO_ANY)
739 else if (ulp == IPPROTO_ICMPV6) {
746 switch (ulp) {
751 ent = getprotobynumber((int)ulp);
755 printf("%u", ulp);
/external/v8/test/mjsunit/
Dmath-round.js153 var ulp = Math.pow(2, -1022 - 52); variable
154 var max_denormal = (Math.pow(2, 52) - 1) * ulp;
165 testRound(0, ulp);
179 testRound(-0, -ulp);
/external/fdlibm/
Dchanges64 2. k_tan.c error was > 1 ulp target for FDLIBM
65 5.2: Worst error at least 1.45 ulp at
67 5.3: Worst error 0.96 ulp
Dreadme25 2. k_tan.c error was > 1 ulp target for FDLIBM
26 5.2: Worst error at least 1.45 ulp at
28 5.3: Worst error 0.96 ulp
44 assumptions below), reference quality (below one ulp for
/external/deqp/framework/common/
DtcuFloatFormat.hpp61 double ulp (double x, double count = 1.0) const;
DtcuFloatFormat.cpp98 double FloatFormat::ulp (double x, double count) const in ulp() function in tcu::FloatFormat
336 check(oss.str(), m_fmt->ulp(arg), ref); in testULP()
/external/kernel-headers/original/uapi/linux/
Dif_hippi.h81 __u8 ulp; /* must contain 4 */
/external/libweave/third_party/chromium/base/third_party/dmg_fp/
Ddtoa.cc1162 ulp
2401 dval(rv) += 2.*ulp(rv);
2418 dval(rv) -= ulp(rv);
2423 dval(rv) += ulp(rv);
3057 dval(&rv) += adj.d*ulp(dval(&rv));
3063 dval(&rv) += adj.d*ulp(&rv);
3086 adj.d *= ulp(dval(&rv));
3096 adj.d *= ulp(&rv);
3218 dval(&rv) += ulp(&rv);
3221 dval(&rv) -= ulp(&rv);
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
DMicrosphereInterpolatingFunction.java204 if (FastMath.abs(diffNorm) < FastMath.ulp(1d)) { in value()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/
DComposableFunction.java270 return FastMath.ulp(d);
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DSingularValueDecompositionImpl.java255 final double threshold = FastMath.max(m, n) * FastMath.ulp(singularValues[0]); in getRank()
DArrayRealVector.java586 data[i] = FastMath.ulp(data[i]); in mapUlpToSelf()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp2060 return fmt.ulp(ret, 2.5); in precision()
2076 return x <= 0 ? TCU_NAN : ctx.format.ulp(ret, 2.0); in precision()
2096 return ctx.format.ulp(ret, 3.0 + 2.0 * deAbs(x)); in precision()
2098 return ctx.format.ulp(ret, 2.0 + 2.0 * deAbs(x)); in precision()
2100 return ctx.format.ulp(ret, 2.0); in precision()
2134 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
2136 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 2.0); in precision()
2138 return ctx.format.ulp(ret, 2.0); in precision()
2311 return ctx.format.ulp(ret, 2.0); in precision()
2324 return ctx.format.ulp(ret, 2.0); in precision()
[all …]
DglsRasterizationTestUtil.cpp209 float getExponentEpsilonFromULP (int valueExponent, deUint32 ulp) in getExponentEpsilonFromULP() argument
211 DE_ASSERT(ulp < (1u<<10)); in getExponentEpsilonFromULP()
214 …return tcu::Float32::construct(+1, valueExponent, (1u<<23) + (ulp << (23 - 10))).asFloat() - tcu::… in getExponentEpsilonFromULP()
217 float getValueEpsilonFromULP (float value, deUint32 ulp) in getValueEpsilonFromULP() argument
222 return getExponentEpsilonFromULP(exponent, ulp); in getValueEpsilonFromULP()
225 float getMaxValueWithinError (float value, deUint32 ulp) in getMaxValueWithinError() argument
230 return value + getValueEpsilonFromULP(value, ulp); in getMaxValueWithinError()
233 float getMinValueWithinError (float value, deUint32 ulp) in getMinValueWithinError() argument
238 return value - getValueEpsilonFromULP(value, ulp); in getMinValueWithinError()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp2039 return fmt.ulp(ret, 2.5); in precision()
2055 return x <= 0 ? TCU_NAN : ctx.format.ulp(ret, 2.0); in precision()
2075 return ctx.format.ulp(ret, 3.0 + 2.0 * deAbs(x)); in precision()
2077 return ctx.format.ulp(ret, 2.0 + 2.0 * deAbs(x)); in precision()
2079 return ctx.format.ulp(ret, 2.0); in precision()
2113 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
2115 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 2.0); in precision()
2117 return ctx.format.ulp(ret, 2.0); in precision()
2290 return ctx.format.ulp(ret, 2.0); in precision()
2303 return ctx.format.ulp(ret, 2.0); in precision()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DDoubleMathTest.java446 assertTrue(Math.abs(dmLog2 - trueLog2) <= Math.ulp(trueLog2));
518 assertEquals(actual, result, Math.ulp(actual));
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
DAbstractIntegrator.java403 … FastMath.ulp(FastMath.max(FastMath.abs(startTime), FastMath.abs(endTime))), in addEndTimeChecker()
/external/proguard/src/proguard/gui/
Ddefault.pro83 public static double ulp(double);
84 public static float ulp(float);
Dboilerplate.pro144 public static double ulp(double);
145 public static float ulp(float);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DFastMath.java3388 public static double ulp(double x) { in ulp() method in FastMath
3400 public static float ulp(float x) { in ulp() method in FastMath
/external/llvm/docs/
DLangRef.rst4314 of them, then ``ulp(x) = |b - a|``, otherwise ``ulp(x)`` is the
4316 nearest ``x``. Moreover, ``ulp(NaN)`` is ``NaN``.
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...

12