Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawl/crawl
/ double_is_zero
Function
double_is_zero
crawl-ref/source/los.cc:130–133 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
128
}
129
130
bool double_is_zero(const double x)
131
{
132
return x > -EPSILON_VALUE && x < EPSILON_VALUE;
133
}
134
135
struct los_ray : public ray_def
136
{
Callers
4
ifloor
Function · 0.70
double_is_integral
Function · 0.70
_bounce_diag_corridor
Function · 0.70
_bounce_noncorner
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected