Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnswerDotAI/gpu.cpp
/ half
Method
half
numeric_types/half.hpp:66–66 ·
view source on GitHub ↗
Default constructor
Source
from the content-addressed store, hash-verified
64
65
// Default constructor
66
half() : data(0) {}
67
68
// Constructor from float
69
half(float f) { *this = halfFromFloat(f); }
Callers
nothing calls this directly
Calls
1
halfFromFloat
Function · 0.85
Tested by
no test coverage detected