Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cpputest/cpputest
/ set_divisionbyzero_c
Function
set_divisionbyzero_c
tests/CppUTestExt/IEEE754PluginTest_c.c:33–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
static volatile float zero_float = 0.0f;
32
33
void set_divisionbyzero_c(void)
34
{
35
f = 1.0f;
36
f /= zero_float;
37
}
38
39
void set_overflow_c(void)
40
{
Callers
1
set_everything_c
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected