Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ ToCFloat
Function
ToCFloat
cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc:66–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
using ArithmeticFloatingTypes = testing::Types<FloatType, DoubleType, HalfFloatType>;
65
66
float ToCFloat(float v) { return v; }
67
double ToCFloat(double v) { return v; }
68
float ToCFloat(Float16 v) { return v.ToFloat(); }
69
Callers
1
TYPED_TEST
Function · 0.85
Calls
1
ToFloat
Method · 0.45
Tested by
no test coverage detected