MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / getNaN

Function getNaN

src/common/StateDatabase.cpp:270–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268
269
270static float getNaN() {
271 // ugly hack, since gcc 2.95 doesn't have <limits>
272 float NaN;
273 memset(&NaN, 0xff, sizeof(float));
274 return NaN;
275}
276
277
278void StateDatabase::addDependents(ItemMap::iterator& it,

Callers 5

evalMethod · 0.85
evalFVec2Method · 0.85
evalFVec3Method · 0.85
evalFVec4Method · 0.85
evaluateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected