This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gfortran test runs



On Aug 25, 2004, at 23:29, Toon Moene wrote:
5. [...] If a floating expression is evaluated in the translation
   environment, the arithmetic precision and range shall be at
   least as great as if the expression were being evaluated in the
   execution environment.

If you just want to evaluate simple floating-point operations, you'd only need regular 64-bit integer math, or 128-bit for 128-bit floats. This really isn't that hard. Even evaluating floating-point expressions with infinite precision is feasible, see GNAT.

-Geert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]