HomeSort by relevance Sort by last modified time
    Searched refs:ulp (Results 1 - 18 of 18) sorted by null

  /bionic/libc/upstream-openbsd/lib/libc/gdtoa/
ulp.c 35 ulp function
strtod.c 73 rv = ulp(x);
691 /* Error is less than an ulp */
733 dval(&rv) += adj*ulp(&rv);
739 dval(&rv) += adj.d*ulp(&rv);
762 dval(&adj) *= ulp(&rv);
772 dval(&adj) *= ulp(&rv);
785 /* Error is less than half an ulp -- check for
900 dval(&rv) += ulp(&rv);
907 dval(&rv) -= ulp(&rv);
966 dval(&adj) = dval(&aadj1) * ulp(&rv)
    [all...]
gdtoaimp.h 568 #define ulp __ulp_D2A macro
616 extern double ulp ANSI((U*));
  /external/ipsec-tools/src/racoon/
policy.h 112 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, _priority, _created, idx) \
118 (idx)->ul_proto = (ulp); \
125 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, _created, idx) \
131 (idx)->ul_proto = (ulp); \
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
Target.java 63 * Sets whether we are testing a native_* function and how many ulp we allow
276 //Log.w("Floaty(double[], ulp)", "input: " + Arrays.toString(values) + ", ulp " + Integer.toString(mUlpFactor));
297 // Expand the range by one ulp factor to cover for the different rounding modes.
299 //Log.w("Floaty(double[], ulp)", "output: " + toString());
318 /** Modify mMinValue and mMaxValue to allow one extra ulp factor of error on each side. */
327 /** Expand the mMinValue by the number of ulp specified. */
339 double ulp = NegativeUlp(); local
340 double delta = ulp * ulpFactor;
359 //Log.w("ExpandMin", "ulp " + java.lang.Double.toString(ulp) + ", delta " + java.lang.Double.toString(delta) + " for " + jav (…)
374 double ulp = Ulp(); local
    [all...]
RSBaseCompute.java 56 float ulp = Math.ulp(ref[refIdx]) * ulpCount; local
60 ulp);
  /external/deqp/framework/common/
tcuFloatFormat.hpp 60 double ulp (double x, double count = 1.0) const;
tcuFloatFormat.cpp 79 * On the definition of ULP
81 * The GLSL spec does not define ULP. However, it refers to IEEE 754, which
84 * ULP(x) is the distance between the closest floating point numbers
87 * Note that this means that when x = 2^n, ULP(x) = 2^(n-p-1), i.e. it is the
90 * Furthermore, it is assumed that ULP is calculated relative to the exact
94 * For details, see "On the definition of ulp(x)" by Jean-Michel Muller
98 double FloatFormat::ulp (double x, double count) const function in class:tcu::FloatFormat
109 // Harrison's ULP: choose distance to closest (i.e. next lower) at binade
116 // ULP cannot be lower than the smallest quantum.
335 oss << "ulp(" << arg << ")"
    [all...]
  /external/ipsec-tools/src/libipsec/
pfkey_dump.c 695 str_prefport(family, pref, port, ulp)
696 u_int family, pref, port, ulp;
719 if (ulp == IPPROTO_ICMPV6)
734 str_upperspec(ulp, p1, p2)
735 u_int ulp, p1, p2;
737 if (ulp == IPSEC_ULPROTO_ANY)
739 else if (ulp == IPPROTO_ICMPV6) {
746 switch (ulp) {
751 ent = getprotobynumber((int)ulp);
755 printf("%u", ulp);
    [all...]
  /external/chromium_org/v8/test/mjsunit/
math-round.js 153 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/kernel-headers/original/uapi/linux/
if_hippi.h 81 __u8 ulp; /* must contain 4 */
  /external/chromium_org/base/third_party/dmg_fp/
dtoa.cc 1162 ulp
    [all...]
  /external/guava/guava-tests/test/com/google/common/math/
DoubleMathTest.java 394 assertTrue(Math.abs(dmLog2 - trueLog2) <= Math.ulp(trueLog2));
461 assertEquals(actual, result, Math.ulp(actual));
  /external/deqp/modules/glshared/
glsBuiltinPrecisionTests.cpp     [all...]
glsRasterizationTestUtil.cpp 209 float getExponentEpsilonFromULP (int valueExponent, deUint32 ulp)
211 DE_ASSERT(ulp < (1u<<10));
213 // assume mediump precision, using ulp as ulps in a 10 bit mantissa
214 return tcu::Float32::construct(+1, valueExponent, (1u<<23) + (ulp << (23 - 10))).asFloat() - tcu::Float32::construct(+1, valueExponent, (1u<<23)).asFloat();
217 float getValueEpsilonFromULP (float value, deUint32 ulp)
222 return getExponentEpsilonFromULP(exponent, ulp);
225 float getMaxValueWithinError (float value, deUint32 ulp)
230 return value + getValueEpsilonFromULP(value, ulp);
233 float getMinValueWithinError (float value, deUint32 ulp)
238 return value - getValueEpsilonFromULP(value, ulp);
    [all...]
  /external/chromium_org/v8/third_party/fdlibm/
fdlibm.js 393 // In order to guarantee error in log below 1ulp, we compute log
410 // 1 ulp (unit in the last place).
417 // algorithm can be used to compute log1p(x) to within a few ULP:
604 // 1 ulp (unit in the last place).
  /bionic/libc/
Android.mk 327 upstream-openbsd/lib/libc/gdtoa/ulp.c \
    [all...]
  /external/chromium_org/third_party/libaddressinput/src/java/
android.jar 

Completed in 637 milliseconds