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

Function TEST

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 11

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
ResetMethod · 0.45

Tested by

no test coverage detected