-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
693b3fa
commit e5c251f
Showing
4 changed files
with
44 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Arguments: -fe5m2 0b01111011 | ||
Exit code: ExitSuccess | ||
Satisfiable. Model: | ||
DECODED = 57000 :: E5M2 | ||
7 65432 10 | ||
S -E5-- S2 | ||
Binary layout: 0 11110 11 | ||
Hex layout: 7B | ||
Precision: 5 exponent bits, 2 significand bits | ||
Sign: Positive | ||
Exponent: 15 (Stored: 30, Bias: 15) | ||
Classification: FP_NORMAL | ||
Binary: 0b1.11p15 | ||
Octal: 0o1.6p15 | ||
Decimal: 57000 | ||
Hex: 0xep12 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Arguments: -fe5m2 2.5 | ||
Exit code: ExitSuccess | ||
Satisfiable. Model: | ||
ENCODED = 2.5 :: E5M2 | ||
7 65432 10 | ||
S -E5-- S2 | ||
Binary layout: 0 10000 01 | ||
Hex layout: 41 | ||
Precision: 5 exponent bits, 2 significand bits | ||
Sign: Positive | ||
Exponent: 1 (Stored: 16, Bias: 15) | ||
Classification: FP_NORMAL | ||
Binary: 0b1.01p1 | ||
Octal: 0o2.4 | ||
Decimal: 2.5 | ||
Hex: 0x2.8 | ||
Rounding mode: RNE: Round nearest ties to even. | ||
Note: Conversion from "2.5" was exact. No rounding happened. |
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
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