Home
last modified time | relevance | path

Searched refs:check_float (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/dports/www/libdatachannel/libdatachannel-0.16.1/deps/json/test/src/
H A Dunit-to_chars.cpp184 check_float(make_float(12676506, -102), "25", -25);
185 check_float(make_float(12676506, -103), "125", -26);
186 check_float(make_float(15445013, 86), "1195", 30);
187 check_float(make_float(13734123, -138), "39415", -39);
188 check_float(make_float(12428269, -130), "913085", -38);
189 check_float(make_float(15334037, -146), "1719005", -43);
190 check_float(make_float(11518287, -41), "52379105", -13);
191 check_float(make_float(12584953, -145), "2821644", -43);
391 check_float( -0.0f, "-0.0" ); // -0
392 check_float( 0.0f, "0.0" ); // 0
[all …]
/dports/audio/giada/giada-0.17.1/src/deps/json/test/src/
H A Dunit-to_chars.cpp184 check_float(make_float(12676506, -102), "25", -25);
185 check_float(make_float(12676506, -103), "125", -26);
186 check_float(make_float(15445013, 86), "1195", 30);
187 check_float(make_float(13734123, -138), "39415", -39);
188 check_float(make_float(12428269, -130), "913085", -38);
189 check_float(make_float(15334037, -146), "1719005", -43);
190 check_float(make_float(11518287, -41), "52379105", -13);
191 check_float(make_float(12584953, -145), "2821644", -43);
391 check_float( -0.0f, "-0.0" ); // -0
392 check_float( 0.0f, "0.0" ); // 0
[all …]
/dports/devel/nlohmann-json/json-3.10.4/test/src/
H A Dunit-to_chars.cpp184 check_float(make_float(12676506, -102), "25", -25);
185 check_float(make_float(12676506, -103), "125", -26);
186 check_float(make_float(15445013, 86), "1195", 30);
187 check_float(make_float(13734123, -138), "39415", -39);
188 check_float(make_float(12428269, -130), "913085", -38);
189 check_float(make_float(15334037, -146), "1719005", -43);
190 check_float(make_float(11518287, -41), "52379105", -13);
191 check_float(make_float(12584953, -145), "2821644", -43);
391 check_float( -0.0f, "-0.0" ); // -0
392 check_float( 0.0f, "0.0" ); // 0
[all …]
/dports/math/openlibm/openlibm-0.8.0/test/
H A Dlibm-test.c745 check_float ("acos (1) == 0", FUNC(acos) (1), 0, 0, 0, 0); in acos_test()
796 check_float ("asin (0) == 0", FUNC(asin) (0), 0, 0, 0, 0); in asin_test()
841 check_float ("atan (0) == 0", FUNC(atan) (0), 0, 0, 0, 0); in atan_test()
1484 check_float ("cbrt (8) == 2", FUNC(cbrt) (8), 2, 0, 0, 0); in cbrt_test()
1916 check_float ("cos (0) == 1", FUNC(cos) (0), 1, 0, 0, 0); in cos_test()
2345 check_float ("erf (0) == 0", FUNC(erf) (0), 0, 0, 0, 0); in erf_test()
2400 check_float ("exp (0) == 1", FUNC(exp) (0), 1, 0, 0, 0); in exp_test()
3180 check_float ("log (1) == 0", FUNC(log) (1), 0, 0, 0, 0); in log_test()
3403 check_float ("modf (0, &x) sets x to 0", x, 0, 0, 0, 0); in modf_test()
3854 check_float ("sin (0) == 0", FUNC(sin) (0), 0, 0, 0, 0); in sin_test()
[all …]
/dports/www/h2o-devel/h2o-dcc7134/deps/mruby/mrbgems/mruby-math/test/
H A Dmath.rb7 def check_float(a, b) method
19 check_float(Math.sin(0), 0)
27 check_float(Math.cos(0), 1)
35 check_float(Math.tan(0), 0)
61 check_float(Math.erf(0), 0)
65 check_float(Math.exp(0), 1.0)
77 check_float(Math.log(1), 0)
89 check_float(Math.log2(1), 0.0)
93 check_float(Math.log2(2), 1.0)
97 check_float(Math.log10(1), 0.0)
[all …]
/dports/games/flightgear/flightgear-2020.3.11/src/FDM/UIUCModel/
H A Duiuc_menu_controlSurface.cpp112 if (check_float(linetoken3)) in parse_controlSurface()
119 if (check_float(linetoken4)) in parse_controlSurface()
129 if (check_float(linetoken3)) in parse_controlSurface()
136 if (check_float(linetoken4)) in parse_controlSurface()
146 if (check_float(linetoken3)) in parse_controlSurface()
153 if (check_float(linetoken4)) in parse_controlSurface()
163 if (check_float(linetoken3)) in parse_controlSurface()
174 if (check_float(linetoken3)) in parse_controlSurface()
194 if (check_float(linetoken3)) in parse_controlSurface()
202 if (check_float(linetoken4)) in parse_controlSurface()
[all …]
H A Duiuc_menu_ice.cpp118 if (check_float(linetoken3)) in parse_ice()
130 if (check_float(linetoken3)) in parse_ice()
140 if (check_float(linetoken3)) in parse_ice()
150 if (check_float(linetoken3)) in parse_ice()
161 if (check_float(linetoken3)) in parse_ice()
172 if (check_float(linetoken3)) in parse_ice()
182 if (check_float(linetoken3)) in parse_ice()
192 if (check_float(linetoken3)) in parse_ice()
202 if (check_float(linetoken3)) in parse_ice()
212 if (check_float(linetoken3)) in parse_ice()
[all …]
H A Duiuc_menu_init.cpp112 if (check_float(linetoken3)) in parse_init()
123 if (check_float(linetoken3)) in parse_init()
134 if (check_float(linetoken3)) in parse_init()
145 if (check_float(linetoken3)) in parse_init()
156 if (check_float(linetoken3)) in parse_init()
167 if (check_float(linetoken3)) in parse_init()
178 if (check_float(linetoken3)) in parse_init()
201 if (check_float(linetoken3)) in parse_init()
211 if (check_float(linetoken3)) in parse_init()
222 if (check_float(linetoken3)) in parse_init()
[all …]
H A Duiuc_menu_engine.cpp111 if (check_float(linetoken3)) in parse_engine()
124 if (check_float(linetoken3)) in parse_engine()
130 if (check_float(linetoken4)) in parse_engine()
136 if (check_float(linetoken5)) in parse_engine()
194 if (check_float(linetoken3)) in parse_engine()
204 if (check_float(linetoken3)) in parse_engine()
215 if (check_float(linetoken3)) in parse_engine()
226 if (check_float(linetoken3)) in parse_engine()
237 if (check_float(linetoken3)) in parse_engine()
248 if (check_float(linetoken3)) in parse_engine()
[all …]
H A Duiuc_menu_mass.cpp110 if (check_float(linetoken3)) in parse_mass()
122 if (check_float(linetoken3)) in parse_mass()
133 if (check_float(linetoken3)) in parse_mass()
144 if (check_float(linetoken3)) in parse_mass()
155 if (check_float(linetoken3)) in parse_mass()
166 if (check_float(linetoken3)) in parse_mass()
177 if (check_float(linetoken3)) in parse_mass()
188 if (check_float(linetoken3)) in parse_mass()
199 if (check_float(linetoken3)) in parse_mass()
210 if (check_float(linetoken3)) in parse_mass()
[all …]
H A Duiuc_menu_CD.cpp120 if (check_float(linetoken3)) in parse_CD()
132 if (check_float(linetoken3)) in parse_CD()
145 if (check_float(linetoken3)) in parse_CD()
154 if (check_float(linetoken3)) in parse_CD()
166 if (check_float(linetoken3)) in parse_CD()
178 if (check_float(linetoken3)) in parse_CD()
190 if (check_float(linetoken3)) in parse_CD()
201 if (check_float(linetoken3)) in parse_CD()
213 if (check_float(linetoken3)) in parse_CD()
224 if (check_float(linetoken3)) in parse_CD()
[all …]
H A Duiuc_menu_gear.cpp114 if (check_float(linetoken4)) in parse_gear()
128 if (check_float(linetoken4)) in parse_gear()
142 if (check_float(linetoken4)) in parse_gear()
156 if (check_float(linetoken4)) in parse_gear()
170 if (check_float(linetoken4)) in parse_gear()
184 if (check_float(linetoken4)) in parse_gear()
198 if (check_float(linetoken4)) in parse_gear()
208 if (check_float(linetoken3)) in parse_gear()
219 if (check_float(linetoken3)) in parse_gear()
H A Duiuc_menu_CL.cpp120 if (check_float(linetoken3)) in parse_CL()
132 if (check_float(linetoken3)) in parse_CL()
144 if (check_float(linetoken3)) in parse_CL()
156 if (check_float(linetoken3)) in parse_CL()
168 if (check_float(linetoken3)) in parse_CL()
179 if (check_float(linetoken3)) in parse_CL()
191 if (check_float(linetoken3)) in parse_CL()
202 if (check_float(linetoken3)) in parse_CL()
213 if (check_float(linetoken3)) in parse_CL()
318 if (check_float(linetoken3)) in parse_CL()
[all …]
H A Duiuc_menu_geometry.cpp110 if (check_float(linetoken3)) in parse_geometry()
121 if (check_float(linetoken3)) in parse_geometry()
132 if (check_float(linetoken3)) in parse_geometry()
143 if (check_float(linetoken3)) in parse_geometry()
154 if (check_float(linetoken3)) in parse_geometry()
165 if (check_float(linetoken3)) in parse_geometry()
176 if (check_float(linetoken3)) in parse_geometry()
H A Duiuc_menu_Cm.cpp120 if (check_float(linetoken3)) in parse_Cm()
132 if (check_float(linetoken3)) in parse_Cm()
144 if (check_float(linetoken3)) in parse_Cm()
156 if (check_float(linetoken3)) in parse_Cm()
168 if (check_float(linetoken3)) in parse_Cm()
180 if (check_float(linetoken3)) in parse_Cm()
191 if (check_float(linetoken3)) in parse_Cm()
203 if (check_float(linetoken3)) in parse_Cm()
215 if (check_float(linetoken3)) in parse_Cm()
227 if (check_float(linetoken3)) in parse_Cm()
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/program_options/example/
H A Dconfig_file_types.cpp18 bool check_float(double test, double expected) in check_float() function
208 assert(check_float(vm["floats.positive"].as<float>(), expected_float_positive)); in check_results()
209 assert(check_float(vm["floats.negative"].as<float>(), expected_float_negative)); in check_results()
210 assert(check_float(vm["floats.double"].as<double>(), expected_float_double)); in check_results()
211 assert(check_float(vm["floats.int"].as<float>(), expected_float_int)); in check_results()
212 assert(check_float(vm["floats.int_dot"].as<float>(), expected_float_int_dot)); in check_results()
213 assert(check_float(vm["floats.dot"].as<float>(), expected_float_dot)); in check_results()
214 assert(check_float(vm["floats.exp_lower"].as<float>(), expected_float_exp_lower)); in check_results()
215 assert(check_float(vm["floats.exp_upper"].as<float>(), expected_float_exp_upper)); in check_results()
216 assert(check_float(vm["floats.exp_decimal"].as<float>(), expected_float_exp_decimal)); in check_results()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/program_options/example/
H A Dconfig_file_types.cpp18 bool check_float(double test, double expected) in check_float() function
208 assert(check_float(vm["floats.positive"].as<float>(), expected_float_positive)); in check_results()
209 assert(check_float(vm["floats.negative"].as<float>(), expected_float_negative)); in check_results()
210 assert(check_float(vm["floats.double"].as<double>(), expected_float_double)); in check_results()
211 assert(check_float(vm["floats.int"].as<float>(), expected_float_int)); in check_results()
212 assert(check_float(vm["floats.int_dot"].as<float>(), expected_float_int_dot)); in check_results()
213 assert(check_float(vm["floats.dot"].as<float>(), expected_float_dot)); in check_results()
214 assert(check_float(vm["floats.exp_lower"].as<float>(), expected_float_exp_lower)); in check_results()
215 assert(check_float(vm["floats.exp_upper"].as<float>(), expected_float_exp_upper)); in check_results()
216 assert(check_float(vm["floats.exp_decimal"].as<float>(), expected_float_exp_decimal)); in check_results()
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/program_options/example/
H A Dconfig_file_types.cpp18 bool check_float(double test, double expected) in check_float() function
208 assert(check_float(vm["floats.positive"].as<float>(), expected_float_positive)); in check_results()
209 assert(check_float(vm["floats.negative"].as<float>(), expected_float_negative)); in check_results()
210 assert(check_float(vm["floats.double"].as<double>(), expected_float_double)); in check_results()
211 assert(check_float(vm["floats.int"].as<float>(), expected_float_int)); in check_results()
212 assert(check_float(vm["floats.int_dot"].as<float>(), expected_float_int_dot)); in check_results()
213 assert(check_float(vm["floats.dot"].as<float>(), expected_float_dot)); in check_results()
214 assert(check_float(vm["floats.exp_lower"].as<float>(), expected_float_exp_lower)); in check_results()
215 assert(check_float(vm["floats.exp_upper"].as<float>(), expected_float_exp_upper)); in check_results()
216 assert(check_float(vm["floats.exp_decimal"].as<float>(), expected_float_exp_decimal)); in check_results()
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/program_options/example/
H A Dconfig_file_types.cpp18 bool check_float(double test, double expected) in check_float() function
208 assert(check_float(vm["floats.positive"].as<float>(), expected_float_positive)); in check_results()
209 assert(check_float(vm["floats.negative"].as<float>(), expected_float_negative)); in check_results()
210 assert(check_float(vm["floats.double"].as<double>(), expected_float_double)); in check_results()
211 assert(check_float(vm["floats.int"].as<float>(), expected_float_int)); in check_results()
212 assert(check_float(vm["floats.int_dot"].as<float>(), expected_float_int_dot)); in check_results()
213 assert(check_float(vm["floats.dot"].as<float>(), expected_float_dot)); in check_results()
214 assert(check_float(vm["floats.exp_lower"].as<float>(), expected_float_exp_lower)); in check_results()
215 assert(check_float(vm["floats.exp_upper"].as<float>(), expected_float_exp_upper)); in check_results()
216 assert(check_float(vm["floats.exp_decimal"].as<float>(), expected_float_exp_decimal)); in check_results()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/c2/
H A DFloatingPointFoldingTest.java131 static void check_float(int[] result, float f1, float f2) { in check_float() method in FloatingPointFoldingTest
146 check_float(iresult, FLOAT_MINUS_INF, FLOAT_PLUS_INF); in main()
150 check_float(iresult, FLOAT_MINUS_ZERO, 0); in main()
154 check_float(iresult, FLOAT_NAN, Float.NaN); in main()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/compiler/c2/
H A DFloatingPointFoldingTest.java131 static void check_float(int[] result, float f1, float f2) { in check_float() method in FloatingPointFoldingTest
146 check_float(iresult, FLOAT_MINUS_INF, FLOAT_PLUS_INF); in main()
150 check_float(iresult, FLOAT_MINUS_ZERO, 0); in main()
154 check_float(iresult, FLOAT_NAN, Float.NaN); in main()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/compiler/c2/
H A DFloatingPointFoldingTest.java131 static void check_float(int[] result, float f1, float f2) { in check_float() method in FloatingPointFoldingTest
146 check_float(iresult, FLOAT_MINUS_INF, FLOAT_PLUS_INF); in main()
150 check_float(iresult, FLOAT_MINUS_ZERO, 0); in main()
154 check_float(iresult, FLOAT_NAN, Float.NaN); in main()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/compiler/c2/
H A DFloatingPointFoldingTest.java131 static void check_float(int[] result, float f1, float f2) { in check_float() method in FloatingPointFoldingTest
146 check_float(iresult, FLOAT_MINUS_INF, FLOAT_PLUS_INF); in main()
150 check_float(iresult, FLOAT_MINUS_ZERO, 0); in main()
154 check_float(iresult, FLOAT_NAN, Float.NaN); in main()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/c2/
H A DFloatingPointFoldingTest.java131 static void check_float(int[] result, float f1, float f2) { in check_float() method in FloatingPointFoldingTest
146 check_float(iresult, FLOAT_MINUS_INF, FLOAT_PLUS_INF); in main()
150 check_float(iresult, FLOAT_MINUS_ZERO, 0); in main()
154 check_float(iresult, FLOAT_NAN, Float.NaN); in main()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/compiler/c2/
H A DFloatingPointFoldingTest.java131 static void check_float(int[] result, float f1, float f2) { in check_float() method in FloatingPointFoldingTest
146 check_float(iresult, FLOAT_MINUS_INF, FLOAT_PLUS_INF); in main()
150 check_float(iresult, FLOAT_MINUS_ZERO, 0); in main()
154 check_float(iresult, FLOAT_NAN, Float.NaN); in main()

12345678910>>...15