summaryrefslogtreecommitdiffstats
path: root/lib/libm/src
AgeCommit message (Expand)AuthorFilesLines
2020-11-07Fix ilogb(3) implementation. The results have to match FP_ILOGB0 andkettenis5-85/+110
2019-10-30Fix declaration of S1 by swapping misplaced ',' and ';'.tb1-2/+2
2019-04-01repair confusing "} if" indentation as suggested by deraadt@naddy2-2/+4
2019-03-15Remove FBSDID.kevlo2-8/+2
2018-03-12Gah, rintl() is used internally, so add a macro for the fourth possiblity,guenther1-1/+1
2018-03-12Make the binding of rintl, significand, and significandf consistentlyguenther1-1/+1
2018-03-12Fix build of sincosl on machines where long double == doubleguenther1-1/+2
2018-03-10Implement sicos(3), sincosf(3) and sincosl(3). These functions are commonkettenis7-0/+539
2017-01-21Nuke whitespace foolish enough to expose itself during the greatkrw14-28/+28
2017-01-20Implement gcc suggestion of extra parentheses. No functional change.krw1-2/+2
2016-09-12Reduce libm's exports and make internal calls go direct.guenther161-356/+324
2016-09-12Per fpclassify(3): isinff(), isnanf(), finite(), and finitef() are deprecatedguenther6-13/+13
2016-09-12Use fe*() routines from <fenv.h> instead of fp*() routines from <ieeefp.h>guenther1-10/+11
2015-12-18Fix wrong answer if the imaginary part is zero.shadchin3-3/+9
2015-12-18Fix behavior csqrt, should beshadchin3-6/+6
2015-11-06From FreeBSD 23397:shadchin1-7/+7
2015-08-20Avoid left-shifting a negative integer, which is undefined. Replacenaddy1-3/+3
2015-08-12fix a case where ceill() returns 1.0L: in the x86 extended precision formatnaddy1-1/+1
2015-07-19Make exponents of x and y signed and fix esx and esymartynas1-4/+5
2015-07-16Adapt previous to extended-precision, and fix single-precision constants.martynas1-2/+2
2015-07-16Signs of cacosh/cacoshf were not always correct (e.g., -1.1 -1.1i),martynas2-4/+4
2015-01-22Fix logic botch causing warnings with Clang. Reported by dhill, matchesmiod2-12/+12
2015-01-22Possibly uninitialized variable. From Clang via dhill.miod1-1/+1
2015-01-20Missing $OpenBSD$'s.krw1-0/+1
2014-07-21Switch from <sys/endian.h> or <machine/endian.h> to the new,guenther3-8/+6
2014-06-05Extended precision floating-point numbers have an explicit integer part bit.kettenis1-11/+10
2014-06-02Make sure STRICT_ASSIGN handles double as well. From FreeBSD, where thekettenis1-2/+2
2014-02-11Make floor round to integral value less than x, when x is tiny.martynas2-6/+8
2013-11-22unsigned char casts for ctype macrosderaadt1-3/+3
2013-11-12Trick the compiler that volatile temporary is used while raisingmartynas3-0/+12
2013-11-12Declare __p1evll and __polevll protos in math_private.h instead ofmartynas10-27/+30
2013-11-12Add parentheses around comparison in operand of ^. Pointed out by theo.martynas2-10/+10
2013-11-12Add explicit braces to avoid ambiguous else. Pointed out by theo.martynas10-18/+27
2013-08-05tgamma(+-0) == +-Infkettenis1-1/+3
2013-08-02Fix a couple of corner cases in the implementation of pow(3) to make itkettenis3-9/+15
2013-07-03test LDBL_MANT_DIG == DBL_MANT_DIG instead of hardcoding 53.espie69-171/+171
2013-03-28Switch libc and libm to use strong aliases rather than weak aliasesmartynas71-107/+107
2013-01-13Get rid of the very ugly lint workarounds: LINTLIBRARY, PROTOLIB,martynas74-524/+33
2012-12-05Remove excessive sys/cdefs.h inclusionderaadt84-175/+37
2012-08-19Fix ranges in the method description.martynas1-5/+5
2011-07-26At some point we've switched to the VFP floating-point--unlike FPAmartynas1-3/+3
2011-07-26__arm32__ -> __arm__, since our new compiler isn't defining themartynas1-4/+4
2011-07-25Make huge constants actually long, so they don't overflow and becomemartynas2-26/+26
2011-07-20- Make constants const.martynas14-50/+50
2011-07-20For intermediate computations use single or extended counterpartsmartynas16-50/+49
2011-07-19Typo.martynas1-1/+1
2011-07-09Make the zero condition properly raise the exception and return.martynas1-1/+2
2011-07-09Don't reimplement the same thing twice. OK matthew@.martynas1-30/+1
2011-07-08Remove the stupid commented out fabs(3), frexp(3), and modf(3)martynas3-187/+0
2011-07-08Revert (leaving the complex math part alone). Some stuff is dependingmartynas2-2/+0