Browse Source

provide float_t, double_t, FLT_EVAL_METHOD (dummy C99 constructs)

okay millert@
OPENBSD_3_7
espie 20 years ago
parent
commit
7c6b5a2ee7
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      src/include/math.h

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

@ -1,4 +1,4 @@
/* $OpenBSD: math.h,v 1.8 2003/06/26 22:40:27 jason Exp $ */
/* $OpenBSD: math.h,v 1.9 2005/01/06 20:36:23 espie Exp $ */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@ -23,6 +23,16 @@
extern char __infinity[];
#define HUGE_VAL (*(double *) __infinity)
/*
* C99
*/
/* XXX just appease the committee for now, needs proper defs... */
typedef float float_t;
typedef double double_t;
#define FLT_EVAL_METHOD (-1)
/*
* XOPEN/SVID
*/


Loading…
Cancel
Save