Timeline for Byte array to floating point such as FPE2 in Java
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 27, 2016 at 18:58 | comment | added | David Foerster | Thanks for the clarification. I included that in my edit. | |
| Apr 27, 2016 at 18:57 | history | edited | David Foerster | CC BY-SA 3.0 |
added 159 characters in body
|
| Apr 27, 2016 at 18:46 | history | edited | David Foerster | CC BY-SA 3.0 |
added 1748 characters in body
|
| Apr 27, 2016 at 16:10 | comment | added | Daniel Widdis |
I like the name FPxx to Float. Note the E is hex for 14 bits, so you could have FPC4, FPF1, FP88, etc. Another format I am parsing is SP78, similar except the "S" means it's signed. Since e will never be > 8, there is no need to handle 2^e > Integer.MAX_VALUE.
|
|
| Apr 27, 2016 at 16:00 | comment | added | Daniel Widdis | Thanks for the feedback. I understand your comments about identifiers and will update them. For reference, I was porting the code from C here: github.com/Chris911/iStats/blob/master/ext/osx_stats/smc.c | |
| Apr 27, 2016 at 15:08 | history | edited | David Foerster | CC BY-SA 3.0 |
deleted 2 characters in body
|
| Apr 27, 2016 at 15:02 | history | answered | David Foerster | CC BY-SA 3.0 |