Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ eulpf
Function
eulpf
test/math/lgamma.c:52–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
};
51
52
static int eulpf(float x)
53
{
54
union { float f; uint32_t i; } u = { x };
55
int e = u.i>>23 & 0xff;
56
57
if (!e)
58
e++;
59
return e - 0x7f - 23;
60
}
61
62
static int checkulp(float d, int r)
63
{
Callers
1
ulperrf
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected