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

Function getFloatInternalUnderflow

src/softfloat/softfloat.cpp:333–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333floatx80 getFloatInternalUnderflow( void )
334{
335 flag zSign;
336 int32_t zExp;
337 uint64_t zSig;
338
339 getRoundedFloatInternal( floatx80_internal_precision, &zSign, &zExp, &zSig );
340
341 if (zExp < (0x0000 - 0x6000)) { // catastrophic
342 zExp = 0;
343 } else {
344 zExp += 0x6000;
345 }
346
347 return packFloatx80( zSign, zExp, zSig );
348
349}
350
351floatx80 getFloatInternalRoundedAll( void )
352{

Callers 1

Calls 2

getRoundedFloatInternalFunction · 0.85
packFloatx80Function · 0.85

Tested by

no test coverage detected