Timeline for how to get single, and quad Precision out of Mathematica which match Fortran result
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 24, 2018 at 20:36 | comment | added | Bob Hanlon | @Nasser - I forgot to add your name to my comment above. | |
Jan 24, 2018 at 20:09 | comment | added | Bob Hanlon | To ensure that the result has 32 digit precision, the internal calculations use longer numbers and track the precision. The longer result is shown but -- as indicated -- only 32 digits are considered precise since that is the highest precision of the lowest precision input, and the precision tracking did not see any lose of precision. | |
Jan 24, 2018 at 19:59 | comment | added | Nasser |
Thanks. But are you sure this is done using quad precision? Mathematica result is 0.9999999999999999999999999999999999999999999999999999979455 but Fortran is 0.999999999999999999999999999998395508 I know Mathematica puts $\'32$ at the end of the number, but this is more than 32 digits precision.
|
|
Jan 24, 2018 at 19:48 | history | answered | Bob Hanlon | CC BY-SA 3.0 |