FORTRAN floating point accuracy problems
|
05-03-2016, 02:56 PM
Post: #49
|
|||
|
|||
RE: FORTRAN floating point accuracy problems
(05-03-2016 01:02 PM)HP67 Wrote: It would be nice if there were some way of determining safedigits environmentally, without having to code a constant, so the code would be somewhat portable. Some languages feature a function that returns the smalles possible machine epsilon. Others could use something like this: Code: Function safedigits() However, things may be slightly different with base-16 encoded numbers like the ones used by your hardware: cf. here. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)