]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MF stable/12 r352685:
authorJustin Hibbits <jhibbits@FreeBSD.org>
Mon, 30 Sep 2019 14:11:49 +0000 (14:11 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Mon, 30 Sep 2019 14:11:49 +0000 (14:11 +0000)
commit59d5fc9aec1d3795705216f03c406431db33299e
tree05288fd24d33887c7258a3979f7b9b625483a84a
parent2f40354d9dcc3c0e59061d890e0d4696c61b9c1a
MF stable/12 r352685:

libm: Include float.h to get LDBL_MANT_DIG

The long double aliases of double functions are only exposed as aliases
if LDBL_MANT_DIG is 53 (same as DBL_MANT_DIG).  Without float.h
included these files were not exposing weak aliases as expected,
leading to link failures if programs use the *l functions.  This should
fix editors/calligra on targets with 64-bit long double, which uses
erfl and erfcl.  Found on powerpc64.

Approved by: re(delphij)
lib/msun/src/s_cbrt.c
lib/msun/src/s_cproj.c
lib/msun/src/s_erf.c