summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorxtraeme <xtraeme@NetBSD.org>2006-03-25 16:41:11 +0000
committerxtraeme <xtraeme@NetBSD.org>2006-03-25 16:41:11 +0000
commitf1336fbda385ba2f2d1fb9f3aa912738d1329c12 (patch)
tree0eaf238cea96bc22e7a47036bf7cfe0e2489b1e4 /include
parenta7819c4f5c100460af899fca01cab8196c8cd176 (diff)
Add trunc() and truncf() C99 functions, from FreeBSD.
Diffstat (limited to 'include')
-rw-r--r--include/math.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/math.h b/include/math.h
index 459d8e66844..b200e37444f 100644
--- a/include/math.h
+++ b/include/math.h
@@ -1,4 +1,4 @@
-/* $NetBSD: math.h,v 1.43 2006/03/23 16:55:42 kleink Exp $ */
+/* $NetBSD: math.h,v 1.44 2006/03/25 16:41:11 xtraeme Exp $ */
/*
* ====================================================
@@ -311,6 +311,8 @@ float floorf(float);
float rintf(float);
double round(double);
float roundf(float);
+double trunc(double);
+float truncf(float);
long int lrint(double);
long int lrintf(float);
/* LONGLONG */