Import OpenBSD's libm (trunk, 4 July 2015) to a new vendor branch
[dragonfly.git] / contrib / openbsd_libm / src / s_llround.c
1 /*      $OpenBSD: s_llround.c,v 1.5 2013/07/03 04:46:36 espie Exp $     */
2 /* $NetBSD: llround.c,v 1.2 2004/10/13 15:18:32 drochner Exp $ */
3
4 /*
5  * Written by Matthias Drochner <drochner@NetBSD.org>.
6  * Public domain.
7  */
8
9 #define LROUNDNAME llround
10 #define RESTYPE long long int
11 #define RESTYPE_MIN LLONG_MIN
12 #define RESTYPE_MAX LLONG_MAX
13
14 #include "s_lround.c"
15
16 #if     LDBL_MANT_DIG == DBL_MANT_DIG
17 __strong_alias(llroundl, llround);
18 #endif  /* LDBL_MANT_DIG == DBL_MANT_DIG */