Bicimal
|
05-20-2019, 11:04 PM
Post: #2
|
|||
|
|||
RE: Bicimal
Hi, Tugdual
strtod() can approximate the number string to binary, within 1/2 ULP (halfway to even) Here are 2 of my strtod implementations: strtod-fast.c, strtod-mpfr.c This is how GCC does it, by doing round-to-odd (followed by round-to-even, to avoid double-rounding error) BTW, 0.5 = 0b0.1 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
RE: Bicimal - Albert Chan - 05-20-2019 11:04 PM
RE: Bicimal - Thomas Okken - 05-20-2019, 11:07 PM
RE: Bicimal - KeithB - 05-21-2019, 02:06 PM
RE: Bicimal - Paul Dale - 05-22-2019, 08:44 AM
RE: Bicimal - Druzyek - 05-21-2019, 02:30 PM
RE: Bicimal - KeithB - 05-22-2019, 12:58 PM
RE: Bicimal - Tugdual - 05-22-2019, 08:55 PM
|
User(s) browsing this thread: 1 Guest(s)