fe-convert-2.c: Unconditionally enable testing for converting from 1.0e-96 and 0.00048828125 to...
2007-07-24 H.J. Lu <hongjiu.lu@intel.com> * gcc.dg/dfp/fe-convert-2.c: Unconditionally enable testing for converting from 1.0e-96 and 0.00048828125 to _Decimal32. From-SVN: r126898
This commit is contained in:
parent
87a7e4f076
commit
80b40cac8d
2 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* gcc.dg/dfp/fe-convert-2.c: Unconditionally enable testing
|
||||
for converting from 1.0e-96 and 0.00048828125 to _Decimal32.
|
||||
|
||||
2007-07-25 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
* gcc.dg/dfp/fe-convert-1.c: Fix typo in comments.
|
||||
|
|
|
@ -14,11 +14,10 @@ CONVERT (101, d, d32, 1.0e97, FE_OVERFLOW|FE_INEXACT)
|
|||
CONVERT (102, d, d32, -1.0e96, FE_INEXACT)
|
||||
CONVERT (103, d, d32, -1.0e97, FE_OVERFLOW|FE_INEXACT)
|
||||
|
||||
#ifdef __DECIMAL_BID_FORMAT__
|
||||
/* These only result in fp exceptions with BID. DPD doesn't work. */
|
||||
/* FIXME: These only result in fp exceptions when libbid is used.
|
||||
libdecnumber doesn't work correctly. */
|
||||
CONVERT (104, d, d32, 1.0e-96, FE_UNDERFLOW|FE_INEXACT)
|
||||
CONVERT (105, d, d32, 0.00048828125, FE_INEXACT) /* exact power of 2 */
|
||||
#endif
|
||||
|
||||
int
|
||||
main ()
|
||||
|
@ -27,10 +26,8 @@ main ()
|
|||
convert_101 ();
|
||||
convert_102 ();
|
||||
convert_103 ();
|
||||
#ifdef __DECIMAL_BID_FORMAT__
|
||||
convert_104 ();
|
||||
convert_105 ();
|
||||
#endif
|
||||
|
||||
if (failcnt != 0)
|
||||
abort ();
|
||||
|
|
Loading…
Add table
Reference in a new issue