Home
last modified time | relevance | path

Searched refs:NAN (Results 1 - 25 of 151) sorted by relevance

1234567

/third_party/jerryscript/tools/unit-tests/
H A Dgen-test-libm.c63 GEN_DBL_TEST (acos (NAN)); in main()
95 GEN_DBL_TEST (asin (NAN)); in main()
133 GEN_DBL_TEST (atan (NAN)); in main()
161 GEN_DBL_TEST (atan2 (NAN, NAN)); in main()
162 GEN_DBL_TEST (atan2 (0.0, NAN)); in main()
163 GEN_DBL_TEST (atan2 (-0.0, NAN)); in main()
164 GEN_DBL_TEST (atan2 (1.0, NAN)); in main()
165 GEN_DBL_TEST (atan2 (-1.0, NAN)); in main()
166 GEN_DBL_TEST (atan2 (INFINITY, NAN)); in main()
[all...]
/third_party/skia/third_party/externals/angle2/src/third_party/ceval/
H A Dceval.h400 return NAN; in ceval_asin()
407 return NAN; in ceval_acos()
429 return NAN; in ceval_tan()
461 return NAN; in ceval_factorial()
477 return NAN; in ceval_sqrt()
505 return NAN; in ceval_bit_not()
533 return NAN; in ceval_sum()
540 return NAN; in ceval_diff()
547 return NAN; in ceval_prod()
554 return NAN; in ceval_div()
[all...]
/third_party/jerryscript/tests/unit-core/
H A Dtest-string-to-number.cpp80 (ecma_number_t) NAN, in HWTEST_F()
81 (ecma_number_t) NAN, in HWTEST_F()
82 (ecma_number_t) NAN, in HWTEST_F()
83 (ecma_number_t) NAN, in HWTEST_F()
84 (ecma_number_t) NAN, in HWTEST_F()
85 (ecma_number_t) NAN, in HWTEST_F()
86 (ecma_number_t) NAN, in HWTEST_F()
87 (ecma_number_t) NAN, in HWTEST_F()
H A Dtest-number-to-int32.cpp66 TEST_CASE (NAN, 0), in HWTEST_F()
67 TEST_CASE (-NAN, 0), in HWTEST_F()
95 TEST_CASE (NAN, 0), in HWTEST_F()
96 TEST_CASE (-NAN, 0), in HWTEST_F()
/third_party/python/Lib/test/
H A Dtest_cmath.py12 NAN = float('nan') variable
38 (NAN, -INF),
39 (NAN, -2.3),
40 (NAN, -0.0),
41 (NAN, 0.0),
42 (NAN, 2.3),
43 (NAN, INF),
44 (-INF, NAN),
45 (-2.3, NAN),
46 (-0.0, NAN),
[all...]
H A Dtest_math.py18 NAN = float('nan') variable
267 self.assertTrue(math.isnan(math.acos(NAN)))
277 self.assertTrue(math.isnan(math.acosh(NAN)))
288 self.assertTrue(math.isnan(math.asin(NAN)))
297 self.assertTrue(math.isnan(math.asinh(NAN)))
306 self.assertTrue(math.isnan(math.atan(NAN)))
317 self.assertTrue(math.isnan(math.atanh(NAN)))
334 self.assertTrue(math.isnan(math.atan2(0., NAN)))
342 self.assertTrue(math.isnan(math.atan2(-0., NAN)))
350 self.assertTrue(math.isnan(math.atan2(INF, NAN)))
[all...]
H A Dtest_float.py24 NAN = float("nan") variable
322 floats = (INF, -INF, 0.0, 1.0, NAN)
406 # x**NAN is NAN for any x except 1
407 self.assertTrue(isnan(pow_op(-INF, NAN)))
408 self.assertTrue(isnan(pow_op(-2.0, NAN)))
409 self.assertTrue(isnan(pow_op(-1.0, NAN)))
410 self.assertTrue(isnan(pow_op(-0.5, NAN)))
411 self.assertTrue(isnan(pow_op(-0.0, NAN)))
412 self.assertTrue(isnan(pow_op(0.0, NAN)))
[all...]
H A Dtest_complex.py12 NAN = float("nan") variable
113 for denom_real, denom_imag in [(0, NAN), (NAN, 0), (NAN, NAN)]:
513 for x in 0.0, -0.0, INF, -INF, NAN:
514 for y in 0.0, -0.0, INF, -INF, NAN:
569 test(complex(NAN, 1), "(nan+1j)")
570 test(complex(1, NAN), "(1+nanj)")
571 test(complex(NAN, NA
[all...]
/third_party/cups-filters/filter/pdftopdf/
H A Dpptypes.h4 #include <cmath> // NAN
25 PageRect() : top(NAN),left(NAN),right(NAN),bottom(NAN),width(NAN),height(NAN) {} in PageRect()
33 void set(const PageRect &rhs); // only for rhs.* != NAN
H A Dnup.h11 width(NAN),height(NAN), in NupParameters()
/third_party/ffmpeg/libavfilter/
H A Df_select.c232 select->var_values[VAR_PREV_PTS] = NAN; in config_input()
233 select->var_values[VAR_PREV_SELECTED_PTS] = NAN; in config_input()
234 select->var_values[VAR_PREV_SELECTED_T] = NAN; in config_input()
235 select->var_values[VAR_PREV_T] = NAN; in config_input()
236 select->var_values[VAR_START_PTS] = NAN; in config_input()
237 select->var_values[VAR_START_T] = NAN; in config_input()
256 select->var_values[VAR_PICT_TYPE] = NAN; in config_input()
257 select->var_values[VAR_INTERLACE_TYPE] = NAN; in config_input()
258 select->var_values[VAR_SCENE] = NAN; in config_input()
259 select->var_values[VAR_CONSUMED_SAMPLES_N] = NAN; in config_input()
[all...]
H A Dsetpts.c113 setpts->var_values[VAR_PREV_INPTS] = NAN; in init()
114 setpts->var_values[VAR_PREV_INT] = NAN; in init()
115 setpts->var_values[VAR_PREV_OUTPTS] = NAN; in init()
116 setpts->var_values[VAR_PREV_OUTT] = NAN; in init()
117 setpts->var_values[VAR_STARTPTS] = NAN; in init()
118 setpts->var_values[VAR_STARTT] = NAN; in init()
133 setpts->type == AVMEDIA_TYPE_AUDIO ? inlink->sample_rate : NAN; in config_input()
138 av_q2d(inlink->frame_rate) : NAN; in config_input()
164 setpts->var_values[VAR_POS ] = !frame || frame->pkt_pos == -1 ? NAN : frame->pkt_pos; in eval_pts()
H A Dvf_crop.c142 s->var_values[VAR_X] = NAN; in config_input()
143 s->var_values[VAR_Y] = NAN; in config_input()
144 s->var_values[VAR_OUT_W] = s->var_values[VAR_OW] = NAN; in config_input()
145 s->var_values[VAR_OUT_H] = s->var_values[VAR_OH] = NAN; in config_input()
147 s->var_values[VAR_T] = NAN; in config_input()
148 s->var_values[VAR_POS] = NAN; in config_input()
219 /* set default, required in the case the first computed value for x/y is NAN */ in config_input()
259 NAN : frame->pts * av_q2d(link->time_base); in filter_frame()
261 NAN : frame->pkt_pos; in filter_frame()
H A Dvf_qp.c71 double var_values[] = { i != -129, i, NAN, NAN, s->qstride, s->h, 0}; in config_input()
146 int qp = sd_in ? in_qp_global + BLOCK_QP_DELTA(block_idx) : NAN; in filter_frame()
H A Dvf_overlay_cuda.c273 NAN : input_main->pts * av_q2d(inlink->time_base); in overlay_cuda_blend()
274 ctx->var_values[VAR_POS] = pos == -1 ? NAN : pos; in overlay_cuda_blend()
353 s->var_values[VAR_X] = NAN; in config_input_overlay()
354 s->var_values[VAR_Y] = NAN; in config_input_overlay()
356 s->var_values[VAR_T] = NAN; in config_input_overlay()
357 s->var_values[VAR_POS] = NAN; in config_input_overlay()
/third_party/rust/crates/minimal-lexical/tests/
H A Dlibm_tests.rs19 assert!(libm::fabsf(f32::NAN).is_nan()); in fabsf_spec_test()
39 assert!(libm::sqrtf(f32::NAN).is_nan()); in sqrtf_spec_test()
57 const NANS: &[f64] = &[f64::NAN];
139 // NAN as the base: in powd_nan_inputs()
140 // (NAN ^ anything *but 0* should be NAN) in powd_nan_inputs()
141 powd_test_sets_as_exponent(f64::NAN, &ALL[2..], f64::NAN); in powd_nan_inputs()
143 // NAN as the exponent: in powd_nan_inputs()
144 // (anything *but 1* ^ NAN shoul in powd_nan_inputs()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DDynamicStateCommandValidationTests.cpp55 TestViewportCall(false, NAN, 0.0, 1.0, 1.0, 0.0, 1.0); in TEST_F()
56 TestViewportCall(false, 0.0, NAN, 1.0, 1.0, 0.0, 1.0); in TEST_F()
57 TestViewportCall(false, 0.0, 0.0, NAN, 1.0, 0.0, 1.0); in TEST_F()
58 TestViewportCall(false, 0.0, 0.0, 1.0, NAN, 0.0, 1.0); in TEST_F()
59 TestViewportCall(false, 0.0, 0.0, 1.0, 1.0, NAN, 1.0); in TEST_F()
60 TestViewportCall(false, 0.0, 0.0, 1.0, 1.0, 0.0, NAN); in TEST_F()
H A DSamplerValidationTests.cpp30 samplerDesc.lodMinClamp = NAN; in TEST_F()
35 samplerDesc.lodMaxClamp = NAN; in TEST_F()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dinfinite-macro.rs9 pub const NAN: f64 = ::std::f64::NAN; consts
/third_party/jerryscript/jerry-libm/include/
H A Dmath.h26 #define NAN (0.0/0.0) macro
31 #define isfinite(x) (!(isinf(x)) && (x != NAN))
/third_party/ffmpeg/compat/
H A Dstrtod.c74 res = NAN; in avpriv_strtod()
78 res = NAN; in avpriv_strtod()
/third_party/ffmpeg/libavutil/
H A Dmathematics.h63 #ifndef NAN
64 #define NAN av_int2float(0x7fc00000) macro
/third_party/jerryscript/jerry-libm/
H A Djerry-libm-internal.h76 #ifndef NAN
77 #define NAN (0.0/0.0) macro
/third_party/node/test/cctest/
H A Dtest_traced_value.cc16 traced_value->SetDouble("d", NAN); in TEST()
43 traced_value->AppendDouble(NAN); in TEST()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_arit.c129 NAN
151 NAN
179 NAN
232 NAN

Completed in 14 milliseconds

1234567