Re: conversion to floating point
Ravi <ra.ravi.rav@xxxxxxxxx> writes:
We enter the floating point numbers through keyboard as normal
strings. How these numbers are converted into internal representation
of floating points (most commonly IEEE754)
Here is the classic paper on the topic:
http://ftp.ccs.neu.edu/pub/people/will/howtoread.ps
--
Ben Pfaff
http://benpfaff.org
.
Relevant Pages
- Re: conversion to floating point
... We enter the floating point numbers through keyboard as normal ... strings. ... How these numbers are converted into internal representation ... (comp.theory) - conversion to floating point
... We enter the floating point numbers through keyboard as normal ... strings. ... How these numbers are converted into internal representation ... (comp.theory) - Re: Singles to Doubles
... If you're saying an internal representation of 1.11 should be displayed as 1.1100 externally under all circumstances, that can't be unless it is one of the set of reals than can be represented exactly. ... If otoh it can't be represented exactly as a Single, then the likelihood that it can in Double isn't zero, but the problem of translation to/from the external representation arises, as does that of promotion. ... google on "floating point conversion" or similar and amongst the zillion of hits pretty early on there will be sites that have floating point calculators that you can type numbers into and see their internal representations. ... (microsoft.public.vb.general.discussion) - Re: Rfd: floating point truncation V1
... Round r1 to an integral value using the "round towards zero" rule, ... an internal representation of floating point negative zero, "-0E", which differs from the representation of floating point positive zero, "0E", should return r2 as floating point negative zero for r1 in the open interval. ... (comp.lang.forth) - Re: unexpected results from Tcl math functions
... floating point numbers, when converted to strings, will ... convert back to the same floating point numbers. ... Also, it's important always, always to brace your expressions. ... your variables may undergo unexpected conversions ... (comp.lang.tcl) |
|