Skip to content
Prev 4760 / 398525 Next

R-1.0.0 and Alpha-linux (RH 6.1)

Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> writes:
According to the documentation, if we would use -ieee_with_no_inexact
for the DEC cc compiler then we should use -mieee with gcc.

`-mieee'
     The Alpha architecture implements floating-point hardware
     optimized for maximum performance.  It is mostly compliant with
     the IEEE floating point standard.  However, for full compliance,
     software assistance is required.  This option generates code fully
     IEEE compliant code *except* that the INEXACT FLAG is not
     maintained (see below).  If this option is turned on, the CPP
     macro `_IEEE_FP' is defined during compilation.  The option is a
     shorthand for: `-D_IEEE_FP -mfp-trap-mode=su -mtrap-precision=i
     -mieee-conformant'.  The resulting code is less efficient but is
     able to correctly support denormalized numbers and exceptional
     IEEE values such as not-a-number and plus/minus infinity.  Other
     Alpha compilers call this option `-ieee_with_no_inexact'.

Using -mieee-with-inexact is slightly stronger.  According to the
documentation it should not result in changes that affect that
quick-exit.

I did successfully compile and test R-1.0.0 on a DEC Alpha running
Digital Unix 4.0d with gcc 2.95.2 and the -mieee flag.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._