/* @(#)w_sinh.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. * ==================================================== */ #include #if defined(LIBM_SCCS) && !defined(lint) __RCSID("$NetBSD: w_sinh.c,v 1.9 2002/05/26 22:02:03 wiz Exp $"); #endif /* * wrapper sinh(x) */ #include "math.h" #include "math_private.h" double sinh(double x) /* wrapper sinh */ { #ifdef _IEEE_LIBM return __ieee754_sinh(x); #else double z; z = __ieee754_sinh(x); if(_LIB_VERSION == _IEEE_) return z; if(!finite(z)&&finite(x)) { return __kernel_standard(x,x,25); /* sinh overflow */ } else return z; #endif } doc-9.3-vfs'>lockdoc-9.3-vfs NetBSD fork for lockdoc analysismerlin@scholz.ruhr
summaryrefslogtreecommitdiff
path: root/usr.bin/printf/printf.c
AgeCommit message (Expand)Author
2015-06-16fix some error handling.christos
2013-07-16WARNS=6christos
2011-03-15support grouping format.christos
2009-10-13Avoid segv on "printf '%*********s' 666", from Maksymilian Arciemowiczchristos
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2008-03-28detect more errors from printf/malloc.christos
2005-03-22Remember to consume input bytes when processing '\0nnn' for %b formatsdsl
2004-10-30- KNF, WARNS=3, pass lint.christos
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-06-25Revert previous. 'None' means that the "Utility Syntax Guidlines" apply.dsl
2003-06-25Remove getopt() loop, IEEE 1003.1 doesn't say that printf(1) should conformdsl
2003-02-24Fix the output of NUL bytes within %b formats.dsl
2002-11-24Fixes from David Laight:christos
2002-06-14Complete declaration of progprintf() to fix build problem in csh(1).tron
2002-06-14Remove #ifdef __STDC__. De-__P() and ANSIfy. Fix a prototype mismatchwiz
2001-05-05Change to use {u,}intmax_t internally (was: (unsigned) long).kleink