summaryrefslogtreecommitdiff
path: root/test/floatx.asm
Commit message (Collapse)AuthorAgeFilesLines
* floatx.asm: add tests for "rounds up to smallest denorm"H. Peter Anvin2007-10-301-0/+5
| | | | | Add tests for the case where we round upwards to reach the smallest possible denorm, i.e. "saved from underflow by rounding."
* More consistent handling of radix lettersH. Peter Anvin2007-10-221-0/+171
| | | | | | | | | | Allow any radix letter from the set [bydtoqhx] to be used either "Intel-style" (0...x) or "C-style" (0x...). In Intel style, the leading 0 remains optional as long as the first digit is in the range 0-9. As a consequence, allow the prefix "0h" for hexadecimal floating point.
* Allow $-prefixed hexadecimal FP as an alternative to 0xH. Peter Anvin2007-10-191-0/+171
| | | | | | Since we allow the prefix $ instead of 0x for integer constants, do the same for floating point. No suffix support at this time; we may want to consider if that would be appropriate.
* test/floatx.asm: fix test caseH. Peter Anvin2007-10-191-1/+1
| | | | "dq" should have been "dt"
* Handle rounding of denorms correctly; make fp overflow a warningH. Peter Anvin2007-10-161-0/+15
| | | | | | - Handle rounding of denorms correctly - Make fp overflow a warning, not an error (produces Inf) - Make fp warnings controllable
* floatx.asm: add Inf and NaN to the boundary condition testsH. Peter Anvin2007-10-041-2/+14
|
* floatx.asm: add specific tests for exponent boundary conditionsH. Peter Anvin2007-10-041-0/+26
| | | | Add tests for the exponent boundaries (underflow, denorm, normal).
* Simple test for hexadecimal floating-point numbersH. Peter Anvin2007-09-181-0/+125
Very trivial test for hexadecimal floating-point numbers