Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloatyUnitTest.java105 shouldAccept(subnormalFloaty, (double) subnormalFloat + Math.ulp(subnormalFloat)); in testFloat1Ulp()
106 shouldAccept(subnormalFloaty, (double) subnormalFloat - Math.ulp(subnormalFloat)); in testFloat1Ulp()
107 shouldNotAccept(subnormalFloaty, (double) subnormalFloat + 2 * Math.ulp(subnormalFloat)); in testFloat1Ulp()
108 shouldNotAccept(subnormalFloaty, (double) subnormalFloat - 2 * Math.ulp(subnormalFloat)); in testFloat1Ulp()
113 shouldAccept(normalFloaty, (double) normalFloat1 + Math.ulp(normalFloat1)); in testFloat1Ulp()
114 shouldAccept(normalFloaty, (double) normalFloat1 - Math.ulp(normalFloat1)); in testFloat1Ulp()
115 shouldNotAccept(normalFloaty, (double) normalFloat1 + 2 * Math.ulp(normalFloat1)); in testFloat1Ulp()
116 shouldNotAccept(normalFloaty, (double) normalFloat1 - 2 * Math.ulp(normalFloat1)); in testFloat1Ulp()
130 shouldAccept(subnormalFloaty, (double) subnormalFloat + 8192 * Math.ulp(subnormalFloat)); in testFloat8192Ulp()
131 shouldAccept(subnormalFloaty, (double) subnormalFloat - 8192 * Math.ulp(subnormalFloat)); in testFloat8192Ulp()
[all …]
Dfloat16_gen.c131 half ulp; in getErrorBar() local
144 ulp = *(half *) &ulpInShort; in getErrorBar()
156 ulp = hB - hA; in getErrorBar()
160 half lb = hValue - tolerance * ulp; in getErrorBar()
161 half ub = hValue + tolerance * ulp; in getErrorBar()
164 fprintf(stderr, "Value: %f, ulp: %f\n", (float) hValue, (float) ulp); in getErrorBar()
DTarget.java434 double ulp = NegativeUlp(); in ExpandMin() local
435 double delta = ulp * ulpFactor; in ExpandMin()
475 double ulp = Ulp(); in ExpandMax() local
476 double delta = ulp * ulpFactor; in ExpandMax()
538 u = Math.ulp((float)mMaxValue); in Ulp()
540 u = Math.ulp(mMaxValue); in Ulp()
554 u = -Math.ulp((float)mMinValue); in NegativeUlp()
556 u = -Math.ulp(mMinValue); in NegativeUlp()
DRSBaseCompute.java52 float ulp = Math.ulp(ref[refIdx]) * ulpCount; in checkArray() local
56 ulp); in checkArray()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplRrlpController.java26 import android.location.cts.asn1.supl2.ulp.ULP_PDU;
27 import android.location.cts.asn1.supl2.ulp.UlpMessage;
DSuplRrlpMessagesGenerator.java31 import android.location.cts.asn1.supl2.ulp.ULP_PDU;
32 import android.location.cts.asn1.supl2.ulp.UlpMessage;
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/ulp/
DULP_PDU.java17 package android.location.cts.asn1.supl2.ulp;
DUlpMessage.java17 package android.location.cts.asn1.supl2.ulp;