Browse Source

redefine MAXFLOAT in vax terms

OPENBSD_3_4
jason 21 years ago
parent
commit
530cbd715c
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      src/include/math.h

+ 6
- 1
src/include/math.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: math.h,v 1.6 2002/02/16 21:27:17 millert Exp $ */
/* $OpenBSD: math.h,v 1.7 2003/06/26 22:27:14 jason Exp $ */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@ -41,7 +41,12 @@ extern char __infinity[];
#define M_SQRT2 1.41421356237309504880 /* sqrt(2) */
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
#ifdef __vax__
#define MAXFLOAT ((float)1.7e38)
#else
#define MAXFLOAT ((float)3.40282346638528860e+38)
#endif
extern int signgam;
#if !defined(_XOPEN_SOURCE)


Loading…
Cancel
Save