Open denis-bogdanas opened 10 years ago
53, 11
On Thu, Jul 31, 2014 at 3:44 PM, Denis Bogdanas notifications@github.com wrote:
branch unified-builtins2
What is the equivalent of the old one-argument Int2Float? If there are similar changes in builtins, please document them.
— Reply to this email directly or view it on GitHub https://github.com/kframework/k/issues/773.
Could you be more explicit please?
Int2Float creates a float with a particular precision and exponent range. You are still using Maude, which has that hacky incorrect implementation of floating point arithmetic. It's based on doubles, so to use it you create a double, which has 53 bits of precision and 11 bits of exponent. On Jul 31, 2014 4:47 PM, "Denis Bogdanas" notifications@github.com wrote:
Could you be more explicit please?
— Reply to this email directly or view it on GitHub https://github.com/kframework/k/issues/773#issuecomment-50823417.
Got it. I would like to see all those builtins documented, with explanation on what every argument means.
We should probably add module comments to the new KORE prelude explaining each of the operations found there.
branch unified-builtins2
What is the equivalent of the old one-argument Int2Float? If there are similar changes in builtins, please document them.