-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add f64.{add,sub} off by one unit tests
The i386 x87 FPU performs all arithmetic with 80-bit extended precision by default and in the end rounds it to the required type. This causes issues for f64 types because results may be different than when doing computation with 64-bit precision. f32 is not affected. These tests presents examples of results which are different in such case.
- Loading branch information
Showing
1 changed file
with
105 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters