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