This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/3325] New: Implementation of fpmod should use fprem1, not fprem
- From: "jaredcasper at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Oct 2006 17:52:00 -0000
- Subject: [Bug math/3325] New: Implementation of fpmod should use fprem1, not fprem
- Reply-to: sourceware-bugzilla at sourceware dot org
According to Vol 2A of the IA-32 Intel® Architecture Software Developer?s Manual
(http://download.intel.com/design/Pentium4/manuals/25366620.pdf) page 3-355, the
fprem1 instruction follows IEEE Std. 754, and the fprem instruction does not (it
is an old implementation they kept around for backward compatibility). So it
seems like the __ieee754_fmod* instructions in sysdeps/i386/fpu/e_fmod* should
use fprem1, not fprem.
--
Summary: Implementation of fpmod should use fprem1, not fprem
Product: glibc
Version: 2.3.6
Status: NEW
Severity: minor
Priority: P2
Component: math
AssignedTo: aj at suse dot de
ReportedBy: jaredcasper at gmail dot com
CC: glibc-bugs at sources dot redhat dot com,jaredcasper at
gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=3325
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.