Home
last modified time | relevance | path

Searched refs:isinf (Results 1 – 25 of 262) sorted by relevance

1234567891011

/third_party/skia/resources/sksl/intrinsics/
DIsInf.sksl8 return ( (isinf(infiniteValue.x)) &&
9 all(isinf(infiniteValue.xy)) &&
10 all(isinf(infiniteValue.xyz)) &&
11 all(isinf(infiniteValue.xyzw)) &&
12 ! (isinf(finiteValue .x)) &&
13 !any(isinf(finiteValue .xy)) &&
14 !any(isinf(finiteValue .xyz)) &&
15 !any(isinf(finiteValue .xyzw))) ? colorGreen : colorRed;
/third_party/skia/tests/sksl/intrinsics/
DIsInf.glsl9isinf(infiniteValue.x) && all(isinf(infiniteValue.xy))) && all(isinf(infiniteValue.xyz))) && all(i…
DIsInf.metal23isinf(float(infiniteValue.x)) && all(isinf(float2(infiniteValue.xy)))) && all(isinf(float3(infinit…
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
Dmath_logb_test.cpp56 EXPECT_TRUE(isinf(logb(HUGE_VAL)));
57 EXPECT_TRUE(isinf(logb(-HUGE_VAL)));
112 EXPECT_TRUE(isinf(logbf(HUGE_VAL)));
113 EXPECT_TRUE(isinf(logbf(-HUGE_VAL)));
154 EXPECT_TRUE(isinf(logbl(HUGE_VAL)));
155 EXPECT_TRUE(isinf(logbl(-HUGE_VAL)));
/third_party/musl/libc-test/src/math/
Dfpclassify.c95 if (!!isinf(tf[i].f) != (tf[i].class == FP_INFINITE)) in main()
96 error(tf[i], isinf); in main()
108 if (!!isinf(td[i].f) != (td[i].class == FP_INFINITE)) in main()
109 error(td[i], isinf); in main()
121 if (!!isinf(tl[i].f) != (tl[i].class == FP_INFINITE)) in main()
122 error(tl[i], isinf); in main()
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/asm/comp/
Dlogical.asm.comp43 bool param = isinf(s0.a);
46 bvec2 param_2 = isinf(s0.b);
49 bvec3 param_4 = isinf(s0.c);
52 bvec4 param_6 = isinf(s0.d);
/third_party/ffmpeg/tests/ref/fate/
Deval161 Evaluating 'isinf(1)'
162 'isinf(1)' -> 0.000000
164 Evaluating 'isinf(NAN)'
165 'isinf(NAN)' -> 0.000000
167 Evaluating 'isinf(INF)'
168 'isinf(INF)' -> 1.000000
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/isInf/
D7bd98f.wgsl.expected.glsl5 bool res = isinf(1.0f);
35 bool res = isinf(1.0f);
55 bool res = isinf(1.0f);
Da46d6f.wgsl.expected.glsl5 bvec2 res = isinf(vec2(0.0f, 0.0f));
35 bvec2 res = isinf(vec2(0.0f, 0.0f));
55 bvec2 res = isinf(vec2(0.0f, 0.0f));
D666f2a.wgsl.expected.glsl5 bvec3 res = isinf(vec3(0.0f, 0.0f, 0.0f));
35 bvec3 res = isinf(vec3(0.0f, 0.0f, 0.0f));
55 bvec3 res = isinf(vec3(0.0f, 0.0f, 0.0f));
D7e81b5.wgsl.expected.glsl5 bvec4 res = isinf(vec4(0.0f, 0.0f, 0.0f, 0.0f));
35 bvec4 res = isinf(vec4(0.0f, 0.0f, 0.0f, 0.0f));
55 bvec4 res = isinf(vec4(0.0f, 0.0f, 0.0f, 0.0f));
/third_party/python/Lib/test/
Dtest_cmath.py118 if math.isinf(a):
568 self.assertFalse(cmath.isinf(1))
569 self.assertFalse(cmath.isinf(1j))
570 self.assertFalse(cmath.isinf(NAN))
571 self.assertTrue(cmath.isinf(INF))
572 self.assertTrue(cmath.isinf(complex(INF, 0)))
573 self.assertTrue(cmath.isinf(complex(0, INF)))
574 self.assertTrue(cmath.isinf(complex(INF, INF)))
575 self.assertTrue(cmath.isinf(complex(NAN, INF)))
576 self.assertTrue(cmath.isinf(complex(INF, NAN)))
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
D_fixes.hpp22 #ifdef isinf
23 #undef isinf
/third_party/musl/src/complex/
Dcproj.c5 if (isinf(creal(z)) || isinf(cimag(z))) in cproj()
Dcprojf.c5 if (isinf(crealf(z)) || isinf(cimagf(z))) in cprojf()
Dcprojl.c11 if (isinf(creall(z)) || isinf(cimagl(z))) in cprojl()
Dcsqrtf.c47 if (isinf(b)) in csqrtf()
53 if (isinf(a)) { in csqrtf()
Dcsqrt.c55 if (isinf(b)) in csqrt()
61 if (isinf(a)) { in csqrt()
/third_party/glslang/Test/baseResults/
Dhlsl.isfinite.frag.out23 0:8 isinf ( temp bool)
40 0:13 isinf ( temp bool)
54 0:14 isinf ( temp 2-component vector of bool)
68 0:15 isinf ( temp 3-component vector of bool)
111 0:8 isinf ( temp bool)
128 0:13 isinf ( temp bool)
142 0:14 isinf ( temp 2-component vector of bool)
156 0:15 isinf ( temp 3-component vector of bool)
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dgenerator_test.py90 def isinf(val): function
94 self.assertTrue(isinf(message.inf_double))
96 self.assertTrue(isinf(message.neg_inf_double))
100 self.assertTrue(isinf(message.inf_float))
102 self.assertTrue(isinf(message.neg_inf_float))
/third_party/musl/libc-test/src/common/
Dmtest.c59 if (isinf(got)) { in ulperrf()
75 if (isinf(got)) { in ulperr()
94 if (isinf(got)) { in ulperrl()
/third_party/jerryscript/jerry-libm/include/
Dmath.h30 #define isinf(x) (((x) == INFINITY) || ((x) == -INFINITY)) macro
31 #define isfinite(x) (!(isinf(x)) && (x != NAN))
/third_party/littlefs/scripts/
Dstack.py39 assert isinstance(x, int) or m.isinf(x), x
51 assert not m.isinf(self.x)
78 if m.isinf(new) and m.isinf(old):
80 elif m.isinf(new):
82 elif m.isinf(old):
477 if not summary and not m.isinf(depth):
502 if not m.isinf(depth) else 0),
633 m.isinf(float(r.limit)) for r in results):
/third_party/ffmpeg/libavutil/
Dlibm.h297 #undef isinf
317 #define isinf(x) \ macro
372 if (isinf(x) || isinf(y)) in hypot()
/third_party/cJSON/tests/unity/src/
Dunity.c280 else if (isinf(number)) UnityPrint("inf"); in UnityPrintFloat()
681 if (isinf(expected) && isinf(actual) && ((expected < 0) == (actual < 0))) return 1; \
686 return !(isnan(diff) || isinf(diff) || (diff > delta))
789 is_trait = isinf(actual) && (actual > 0); in UnityAssertFloatSpecial()
793 is_trait = isinf(actual) && (actual < 0); in UnityAssertFloatSpecial()
803 is_trait = !isinf(actual) && !isnan(actual); in UnityAssertFloatSpecial()
919 is_trait = isinf(actual) && (actual > 0); in UnityAssertDoubleSpecial()
923 is_trait = isinf(actual) && (actual < 0); in UnityAssertDoubleSpecial()
933 is_trait = !isinf(actual) && !isnan(actual); in UnityAssertDoubleSpecial()

1234567891011