internal number representation
|
10-05-2016, 06:25 AM
Post: #1
|
|||
|
|||
internal number representation
Hello all,
I still have some question about the internal representation of real numbers in the Prime. there is (in BCD): 1 nibble for the sign (4 bits) 12 nibbles for the mantissa 3 nibbles for the signed exponent How is the sign represented within the 4 sign bits? What can these 4 bits represent (+ infinity, -infinity, ...) and how will it be done? How is the signed exponent represented within the 3 BCD nibbles? Is it shifted by 499, so -499 will be 000, 0 will be 499 and +499 will be 998? Is it possible to have a detailed description of the significance of the various bits? Is there a way to see the internal binary representation of a real number (something like casting a real to a longint)? Thank you very much for the help, I want to explain it to my students, but I'm not sure about how it will be done and don't want to expose it wrong. Reto |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
internal number representation - retoa - 10-05-2016 06:25 AM
RE: internal number representation - Tim Wessman - 10-05-2016, 03:42 PM
RE: internal number representation - retoa - 10-05-2016, 09:27 PM
RE: internal number representation - David Hayden - 10-07-2016, 01:05 AM
RE: internal number representation - retoa - 10-07-2016, 07:30 AM
RE: internal number representation - jte - 10-08-2016, 08:37 PM
RE: internal number representation - cyrille de brébisson - 10-10-2016, 10:05 AM
|
User(s) browsing this thread: 2 Guest(s)