MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / FRNDINT

Method FRNDINT

source/emulation/cpu/common/fpu.cpp:670–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668}
669
670void FPU::FRNDINT() {
671 if (isRegCached[this->top]) {
672 double value = this->regCache[this->top].d;
673 this->regCache[this->top].d = (double)(S64)FROUND(value);
674 } else {
675 this->regs[this->top] = extF80_roundToInt(this->regs[this->top], getSoftRounding(), getSoftExact());
676 }
677}
678
679/*
680* from https://www.felixcloutier.com/x86/fprem

Callers 1

common_FRNDINTFunction · 0.80

Calls 1

extF80_roundToIntFunction · 0.85

Tested by

no test coverage detected