Browse Source

Better value for vax MAXFLOAT

OPENBSD_3_4
jason 21 years ago
parent
commit
384d178b51
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/include/math.h

+ 2
- 2
src/include/math.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: math.h,v 1.7 2003/06/26 22:27:14 jason Exp $ */
/* $OpenBSD: math.h,v 1.8 2003/06/26 22:40:27 jason Exp $ */
/* /*
* ==================================================== * ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@ -42,7 +42,7 @@ extern char __infinity[];
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
#ifdef __vax__ #ifdef __vax__
#define MAXFLOAT ((float)1.7e38)
#define MAXFLOAT ((float)1.70141173319264430e+38)
#else #else
#define MAXFLOAT ((float)3.40282346638528860e+38) #define MAXFLOAT ((float)3.40282346638528860e+38)
#endif #endif


Loading…
Cancel
Save