~ubuntu-branches/ubuntu/precise/gnutls28/precise

« back to all changes in this revision

Viewing changes to gl/tests/test-float.c

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-09-20 19:37:06 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20110920193706-a9phjijvddzg3nkl
Tags: 3.0.3-1
* New upstream version. (Includes a fix for #640639)
* Bump shlibs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
298
298
 
299
299
  /* Check that 'long double' is at least as wide as 'double'.  */
300
300
  ASSERT (LDBL_MANT_DIG >= DBL_MANT_DIG);
301
 
  ASSERT (LDBL_MIN_EXP <= DBL_MIN_EXP);
 
301
 
 
302
  /* Normally, we would also assert this:
 
303
       ASSERT (LDBL_MIN_EXP <= DBL_MIN_EXP);
 
304
     but at least on powerpc64 with gcc-4.4.4, it would fail:
 
305
     $ :|gcc -dD -E -include stddef.h -|grep -E 'L?DBL_MIN_EXP'
 
306
     #define __DBL_MIN_EXP__ (-1021)
 
307
     #define __LDBL_MIN_EXP__ (-968)
 
308
  */
302
309
  ASSERT (LDBL_MAX_EXP >= DBL_MAX_EXP);
303
310
 
304
311
  /* Check the value of LDBL_DIG.  */