Bug#500059: gfortran-4.3-doc: difference between +0.0 and -0.0 in function SIGN
Package: gfortran-4.3-doc
Version: 4.3.0.nf1-1
Severity: normal
According to the html manual, the intrinsic function SIGN(A,B) gives
ABS(A) if B\ge 0.
In gfortran-4.3 there is a difference between +0.0 and -0.0. This should
be mentioned in the documentation.
program t
a=0.0
print *, sign(1.0,a)
print *, sign(1.0,-a)
end
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages gfortran-4.3-doc depends on:
ii gcc-doc-base 4.3.0.nf1-1 several GNU manual pages
gfortran-4.3-doc recommends no packages.
Versions of packages gfortran-4.3-doc suggests:
ii doc-base 0.8.16 utilities to manage online documen
-- no debconf information
Reply to: