I guess the unused entries spell "bad FC" (for floating constant). Also I think constants 6 through 10 are relevant for the decimal-to-binary conversion or vice versa, as evident from the following observation: 0x5c3bd5191b525a249 ~= 2^123 / 10^17 0x470de4df820000000 = 2^13 * 10^16
Thanks! I think you've figured out those mystery constants. How did you recognize them?
Reverse Engineering the Constants in the Pentium FPU
11–20 of 24 posts
Re: Reverse Engineering the Constants in the Pentium FPU
#12Author here for your Pentium questions...
Anyway, question on the ones you thought were wrong (I think "just" the trig functions). Is there a running system you can use that can be used to confirm your findings? Especially considering your previous post on the pentium division bug, maybe they got this wrong too?
Re: Reverse Engineering the Constants in the Pentium FPU
#13Earlier quoted context omitted.
Thanks! I think you've figured out those mystery constants. How did you recognize them?
That somehow looked very similar to the typical powers of ten table found in floating point conversion routines. I got the first confirmation by searching for 0x5c3bd5191b525a249 / 2^67, which happened to match how many exabytes are equal to 5 exbibits.
Re: Reverse Engineering the Constants in the Pentium FPU
#14Author here for your Pentium questions...
Re: Reverse Engineering the Constants in the Pentium FPU
#15Author here for your Pentium questions...
Are you working your way up through the eras of CPU's? How far do you predict you'll be able to get? (Ps. Thanks for all the awesome insight you've shared)
Re: Reverse Engineering the Constants in the Pentium FPU
#16Author here for your Pentium questions...
Feels like an honor to be able to ask. I've appreciated your work for a few years now especially on the Apollo gear restoration. Anyway, question on the ones you thought were wrong (I think "just" the trig functions). Is there a running system you can use that can be used to confirm your findings? Especially considering your previous post on the pentium division bug, maybe they got this wrong too?
Re: Reverse Engineering the Constants in the Pentium FPU
#17Earlier quoted context omitted.
That somehow looked very similar to the typical powers of ten table found in floating point conversion routines. I got the first confirmation by searching for 0x5c3bd5191b525a249 / 2^67, which happened to match how many exabytes are equal to 5 exbibits.
I've updated my article along with a credit to you. Unfortunately, I couldn't figure out the other constants despite a whole lot of brute-force checking.
Edit: I found https://mrob.com/pub/ries/, which may or may not help.
Re: Reverse Engineering the Constants in the Pentium FPU
#18Earlier quoted context omitted.
Thanks! I think you've figured out those mystery constants. How did you recognize them?
That somehow looked very similar to the typical powers of ten table found in floating point conversion routines. I got the first confirmation by searching for 0x5c3bd5191b525a249 / 2^67, which happened to match how many exabytes are equal to 5 exbibits.
However, I don't know enough about floating point conversion to understand why that value's useful, or why it's stored where a fractional part normally would be in that same format.
Constants 6 and 7 visually appear to be in a similar fractional range and possibly as if extending precision of a fraction to 8 bit, 16 bit, and 32 bit words. I wonder if something along that line of thought might have an answer similar to the constant 10.
Re: Reverse Engineering the Constants in the Pentium FPU
#19Author here for your Pentium questions...
Re: Reverse Engineering the Constants in the Pentium FPU
#20Earlier quoted context omitted.
I've updated my article along with a credit to you. Unfortunately, I couldn't figure out the other constants despite a whole lot of brute-force checking.
There used to be a site called the Inverse Symbolic Calculator (also a sibling site, Plouffe's Inverter) where you could give in a decimal expansion and it would search for known constants. Unfortunately, it seems to be down (the frontend exists, the backend just gives 404). Maybe someone else made something similar? Edit: I found https://mrob.com/pub/ries/ , which may or may not help.