Browse Source

add some more C99 functions: round(3) and roundf(3).

By Steven G. Kargl <kargl at troutmask dot apl dot washington.edu>
From FreeBSD
OPENBSD_4_0
brad 18 years ago
parent
commit
b91eb0957d
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/include/math.h

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

@ -1,4 +1,4 @@
/* $OpenBSD: math.h,v 1.13 2006/07/12 06:43:31 brad Exp $ */
/* $OpenBSD: math.h,v 1.14 2006/07/12 07:26:07 brad Exp $ */
/* /*
* ==================================================== * ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@ -141,6 +141,7 @@ extern double fabs(double);
extern double floor(double); extern double floor(double);
extern double fmod(double, double); extern double fmod(double, double);
extern double round(double);
extern double trunc(double); extern double trunc(double);
#if __BSD_VISIBLE || __XPG_VISIBLE #if __BSD_VISIBLE || __XPG_VISIBLE
@ -236,6 +237,7 @@ extern float fabsf(float);
extern float floorf(float); extern float floorf(float);
extern float fmodf(float, float); extern float fmodf(float, float);
extern float roundf(float);
extern float truncf(float); extern float truncf(float);
extern float erff(float); extern float erff(float);


Loading…
Cancel
Save