MCPcopy Create free account
hub / github.com/apache/arrow / TEST

Function TEST

cpp/src/gandiva/precompiled/extended_math_ops_test.cc:38–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38TEST(TestExtendedMathOps, TestCbrt) {
39 VerifyFuzzyEquals(cbrt_int32(27), 3);
40 VerifyFuzzyEquals(cbrt_int64(27), 3);
41 VerifyFuzzyEquals(cbrt_float32(27), 3);
42 VerifyFuzzyEquals(cbrt_float64(27), 3);
43 VerifyFuzzyEquals(cbrt_float64(-27), -3);
44
45 VerifyFuzzyEquals(cbrt_float32(15.625), 2.5);
46 VerifyFuzzyEquals(cbrt_float64(15.625), 2.5);
47}
48
49TEST(TestExtendedMathOps, TestFactorial) {
50 gandiva::ExecutionContext context;

Callers

nothing calls this directly

Calls 12

VerifyFuzzyEqualsFunction · 0.85
signbitFunction · 0.85
bround_float64Function · 0.85
round_int32Function · 0.85
round_int32_int32Function · 0.85
round_int64Function · 0.85
round_int64_int32Function · 0.85
truncate_int64_int32Function · 0.85
get_errorMethod · 0.80
has_errorMethod · 0.80
findMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected