Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AcademySoftwareFoundation/Imath
/ half_example
Function
half_example
website/examples/half.cpp:4–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
#include <math.h>
3
4
void
5
half_example ()
6
{
7
half a (3.5);
8
float b (a + sqrt (a));
9
a += b;
10
b += a;
11
b = a + 7;
12
}
Callers
nothing calls this directly
Calls
1
sqrt
Function · 0.85
Tested by
no test coverage detected