xref: /openbsd-src/lib/libc/hidden/math.h (revision af3276d5e32f3e939032c022c530ad02a9ed9a1e)
1*af3276d5Sguenther /*	$OpenBSD: math.h,v 1.1 2015/10/27 05:54:49 guenther Exp $	*/
2*af3276d5Sguenther /*
3*af3276d5Sguenther  * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
4*af3276d5Sguenther  *
5*af3276d5Sguenther  * Permission to use, copy, modify, and distribute this software for any
6*af3276d5Sguenther  * purpose with or without fee is hereby granted, provided that the above
7*af3276d5Sguenther  * copyright notice and this permission notice appear in all copies.
8*af3276d5Sguenther  *
9*af3276d5Sguenther  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10*af3276d5Sguenther  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11*af3276d5Sguenther  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12*af3276d5Sguenther  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13*af3276d5Sguenther  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14*af3276d5Sguenther  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15*af3276d5Sguenther  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16*af3276d5Sguenther  */
17*af3276d5Sguenther 
18*af3276d5Sguenther #ifndef _LIBC_MATH_H_
19*af3276d5Sguenther #define _LIBC_MATH_H_
20*af3276d5Sguenther 
21*af3276d5Sguenther #include_next <math.h>
22*af3276d5Sguenther 
23*af3276d5Sguenther /*
24*af3276d5Sguenther  * This file only wraps the handful of functions that are both
25*af3276d5Sguenther  * defined and used by libc.
26*af3276d5Sguenther  */
27*af3276d5Sguenther 
28*af3276d5Sguenther PROTO_NORMAL(__fpclassify);
29*af3276d5Sguenther PROTO_NORMAL(__fpclassifyf);
30*af3276d5Sguenther PROTO_NORMAL(__fpclassifyl);
31*af3276d5Sguenther PROTO_NORMAL(ldexp);
32*af3276d5Sguenther 
33*af3276d5Sguenther #endif /* !_LIBC_MATH_H_ */
34