MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / getFloatInternalOverflow

Function getFloatInternalOverflow

src/softfloat/softfloat.cpp:315–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315floatx80 getFloatInternalOverflow( void )
316{
317 flag zSign;
318 int32_t zExp;
319 uint64_t zSig;
320
321 getRoundedFloatInternal( floatx80_internal_precision, &zSign, &zExp, &zSig );
322
323 if (zExp > (0x7fff + 0x6000)) { // catastrophic
324 zExp = 0;
325 } else {
326 zExp -= 0x6000;
327 }
328
329 return packFloatx80( zSign, zExp, zSig );
330
331}
332
333floatx80 getFloatInternalUnderflow( void )
334{

Callers 1

fp_get_internal_overflowFunction · 0.85

Calls 2

getRoundedFloatInternalFunction · 0.85
packFloatx80Function · 0.85

Tested by

no test coverage detected