[Bug other/32330] New: Inconsistent DFP round/exception fuctions
hjl at lucon dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 14 03:00:00 GMT 2007
gcc/testsuite/gcc.dg/dfp/dfp-except.h has
extern void __dfp_clear_except (int);
#define DFP_CLEAR_EXCEPT(M) __dfp_clear_except(M)
extern int __dfp_test_except (int);
#define DFP_TEST_EXCEPT(M) __dfp_test_except(M)
However, libdecnumber/decExcept.h has
void __dfp_clear_except (void);
int __dfp_test_except (int);
void __dfp_raise_except (int);
They don't argee.
Also,libdecnumber/decRound.h has
extern void __dfp_set_round (int);
extern int __dfp_get_round (void);
Shouldn't DFP implement something similar to the ones in <fenv.h>,
except with __dfp_ prefix?
--
Summary: Inconsistent DFP round/exception fuctions
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl at lucon dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32330
More information about the Gcc-bugs
mailing list