/third_party/jerryscript/tools/unit-tests/ |
H A D | gen-test-libm.c | 63 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 D | ceval.h | 400 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 D | test-string-to-number.cpp | 80 (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 D | test-number-to-int32.cpp | 66 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 D | test_cmath.py | 12 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 D | test_math.py | 18 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 D | test_float.py | 24 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 D | test_complex.py | 12 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 D | pptypes.h | 4 #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 D | nup.h | 11 width(NAN),height(NAN), in NupParameters()
|
/third_party/ffmpeg/libavfilter/ |
H A D | f_select.c | 232 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 D | setpts.c | 113 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 D | vf_crop.c | 142 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 D | vf_qp.c | 71 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 D | vf_overlay_cuda.c | 273 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 D | libm_tests.rs | 19 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 D | DynamicStateCommandValidationTests.cpp | 55 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 D | SamplerValidationTests.cpp | 30 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 D | infinite-macro.rs | 9 pub const NAN: f64 = ::std::f64::NAN; consts
|
/third_party/jerryscript/jerry-libm/include/ |
H A D | math.h | 26 #define NAN (0.0/0.0) macro 31 #define isfinite(x) (!(isinf(x)) && (x != NAN))
|
/third_party/ffmpeg/compat/ |
H A D | strtod.c | 74 res = NAN; in avpriv_strtod() 78 res = NAN; in avpriv_strtod()
|
/third_party/ffmpeg/libavutil/ |
H A D | mathematics.h | 63 #ifndef NAN 64 #define NAN av_int2float(0x7fc00000) macro
|
/third_party/jerryscript/jerry-libm/ |
H A D | jerry-libm-internal.h | 76 #ifndef NAN 77 #define NAN (0.0/0.0) macro
|
/third_party/node/test/cctest/ |
H A D | test_traced_value.cc | 16 traced_value->SetDouble("d", NAN); in TEST() 43 traced_value->AppendDouble(NAN); in TEST()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_test_arit.c | 129 NAN 151 NAN 179 NAN 232 NAN
|