Browse Source

add __infinityf declaration. (only affects vax). pointed out by miod@

OPENBSD_4_5
martynas 16 years ago
parent
commit
e2b641869d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/include/math.h

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

@ -1,4 +1,4 @@
/* $OpenBSD: math.h,v 1.23 2008/12/09 20:02:02 martynas Exp $ */
/* $OpenBSD: math.h,v 1.24 2008/12/11 12:08:27 martynas Exp $ */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@ -35,6 +35,7 @@ typedef __double_t double_t;
typedef __float_t float_t;
#ifdef __vax__
extern char __infinityf[];
#define HUGE_VALF (*(float *)(void *)__infinityf)
#else /* __vax__ */
#define HUGE_VALF ((float)HUGE_VAL)


Loading…
Cancel
Save