t2ex/bsd_source/lib/libc/src_bsd/math/s_llround.c | bare source | permlink (0.00 seconds) |
1: /* $OpenBSD: s_llround.c,v 1.2 2011/07/06 00:02:42 martynas 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: /* LINTLIBRARY */ 10: 11: #define LROUNDNAME llround 12: #define RESTYPE long long int 13: #define RESTYPE_MIN LLONG_MIN 14: #define RESTYPE_MAX LLONG_MAX 15: 16: #include "s_lround.c" 17: 18: #if LDBL_MANT_DIG == 53 19: #ifdef lint 20: /* PROTOLIB1 */ 21: long long int llroundl(long double); 22: #else /* lint */ 23: __weak_alias(llroundl, llround); 24: #endif /* lint */ 25: #endif /* LDBL_MANT_DIG == 53 */