Searched refs:json_variant_real (Results 1 – 4 of 4) sorted by relevance
224 …assert_se(p && json_variant_type(p) == JSON_VARIANT_REAL && fabsl(json_variant_real(p) - 1.27) < 0… in test_2()243 assert_se(json_variant_real(w) == 0.0L); in test_zeroes()515 …assert_se(fabsl((double) 1.0 - ((double) DBL_MIN / json_variant_real(json_variant_by_index(v, 0)))… in test_float_match()516 …assert_se(fabsl((double) 1.0 - ((double) DBL_MAX / json_variant_real(json_variant_by_index(v, 1)))… in test_float_match()521 …fabsl((double) 1.0 - ((double) HUGE_VAL / json_variant_real(json_variant_by_index(v, 5)))) <= delt… in test_float_match()
55 double real = json_variant_real(v); in LLVMFuzzerTestOneInput()
257 return json_variant_real(v) == 0.0 ? JSON_VARIANT_MAGIC_ZERO_REAL : v; in json_variant_formalize()480 a->value.real = json_variant_real(b); in json_variant_set()982 double json_variant_real(JsonVariant *v) { in json_variant_real() function992 return json_variant_real(v->reference); in json_variant_real()1318 return json_variant_real(a) == json_variant_real(b); in json_variant_equal()1557 fprintf(f, "%.*e", DECIMAL_DIG, json_variant_real(v)); in json_format()2168 value.real = json_variant_real(v); in json_variant_copy()
98 double json_variant_real(JsonVariant *v);