Changeset 96655 in vbox for trunk/src/VBox/VMM/tools
- Timestamp:
- Sep 8, 2022 11:10:56 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 153537
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/tools/IEMGenFpuConstants.c
r96407 r96655 133 133 134 134 mpfr_init2(Val, 112 + 1); 135 unsigned long uFactorial = 1; AssertCompile(sizeof(uFactorial) >= 8);135 mpfr_set_ui(Val, 1, MPFR_RNDD); 136 136 for (unsigned a = 1; a < 22; a++) 137 137 { 138 uFactorial *= (a + 1); 139 mpfr_div_ui(Val, One, uFactorial, MPFR_RNDD); 138 mpfr_div_ui(Val, Val, a + 1, MPFR_RNDD); 140 139 PrintF128(Val, NULL, "a%u", a); 141 140 }
Note:
See TracChangeset
for help on using the changeset viewer.