| 668 | } |
| 669 | |
| 670 | void 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 |
no test coverage detected