The NetBSD Project

CVS log for src/lib/libm/src/namespace.h

[BACK] Up to [cvs.NetBSD.org] / src / lib / libm / src

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 24 19:32:09 2024 UTC (7 weeks, 5 days ago) by mrg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +5 -1 lines
Diff to previous 1.18 (colored) to selected 1.1 (colored)

fix some fallout from 32-bit fixes for long double functions.

apply namespace.h to remqou*.  add missing weak aliases for some of them,
and normalise checkf for __weak_alias().

now libm.so seems to only have libc undefined symbols.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 21 18:53:18 2024 UTC (2 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.17: +15 -1 lines
Diff to previous 1.17 (colored) to selected 1.1 (colored)

Bring in more long double functions from FreeBSD.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Fri Aug 11 14:44:19 2023 UTC (8 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.16: +9 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.1 (colored)

Pull up following revision(s) (requested by riastradh in ticket #320):

	lib/libm/src/ldbl_dummy.c: revision 1.3
	distrib/sets/lists/debug/shl.mi: revision 1.303
	lib/libm/src/ldbl_dummy.c: revision 1.4
	lib/libm/src/namespace.h: revision 1.17
	lib/libm/src/s_llrintl.c: revision 1.3
	lib/libm/Makefile: revision 1.220
	lib/libm/src/s_lrintl.c: revision 1.3
	lib/libm/man/sincos.3: revision 1.2
	lib/libm/man/math.3: revision 1.29
	distrib/sets/lists/base/shl.mi: revision 1.946
	lib/libm/shlib_version: revision 1.18

libm: Fill in more dummy long double transcendental functions.
This should cover everything from C99.

libm: Need <math.h> for __HAVE_LONG_DOUBLE.
Fixes missing definitions of lrintl, llrintl on various platforms.

Add (newly added): expm1l log1pl log2l lgammal tgammal
so that the library gets the correct symbols defined in it.

libm: Bump minor for new long double transcendental functions.
XXX Still missing: remquol, remainderl.

fix cross references (from Anon Ymous)

Correct history (Brad Smith)

libm: Add missing fma(3) and friends for sh3.

libm: Add dummy remainderl and remquol.
These are pretty bad -- these aren't transcendental functions; not
rocket science to make them correctly rounded -- but let's just make
sure they're available in libm for netbsd-10.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 14 05:49:03 2023 UTC (13 months ago) by kre
Branch: MAIN
Changes since 1.16: +9 -3 lines
Diff to previous 1.16 (colored) to selected 1.1 (colored)

Add (newly added): expm1l log1pl log2l lgammal tgammal
so that the library gets the correct symbols defined in it.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 27 08:31:59 2022 UTC (19 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored) to selected 1.1 (colored)

Add sincos{,f,l} from FreeBSD

Revision 1.14.12.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:13 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.14: +5 -4 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.1 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.15 / (download) - annotate - [select for diffs], Sat Oct 26 17:57:20 2019 UTC (4 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.14: +5 -4 lines
Diff to previous 1.14 (colored) to selected 1.1 (colored)

Separate the NetBSD-specific fenv functions from the standard ones.
No functional change.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:52:56 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.13: +16 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.1 (colored)

Sync with HEAD

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:11 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.13: +16 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.1 (colored)

Sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 22 23:11:09 2017 UTC (7 years ago) by chs
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: phil-wifi
Changes since 1.13: +16 -1 lines
Diff to previous 1.13 (colored) to selected 1.1 (colored)

provide a common softfloat fenv implemenation and use it for softfloat builds.
restore ABI compatibility with previous releases for ieeefp.h on sh3.
add namespace.h protection for all the fenv interfaces.
use MKSOFTFLOAT on sh3 instead of assuming softfloat.
standardize on comparing MKSOFTFLOAT with "no".
remove the arm-specific softfloat fenv code (which also had several bugs).
fix logic errors in the arm hardfloat feraiseexcept() and feupdateenv().

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon May 25 09:05:25 2015 UTC (8 years, 10 months ago) by msaitoh
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.1 (colored)

Pull up following revision(s) (requested by joerg in ticket #790):
	sys/arch/powerpc/include/math.h: revision 1.5
	lib/libm/src/namespace.h: revision 1.13
	lib/libm/arch/vax/n_support.S: revision 1.10
	lib/libm/src/s_copysignl.c: revision 1.3
	lib/libm/src/s_copysignl.c: revision 1.4
	lib/libm/src/s_copysignl.c: revision 1.5
	sys/arch/powerpc/include/ieee.h: revision 1.6
	lib/libm/src/s_copysign.c: revision 1.12
	lib/libm/src/s_copysign.c: revision 1.13
- Support copysignl on PowerPC.
- Define copysignl on !long double platforms. Be consistent in the use of
  weak aliases.
- copysignl is also needed for PowerPC's double-double format, so special
  case that. Functional support was added earlier, but not enabled.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Nov 14 14:53:17 2014 UTC (9 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored) to selected 1.1 (colored)

Define copysignl on !long double platforms. Be consistent in the use of
weak aliases.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 14 03:31:41 2014 UTC (9 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored) to selected 1.1 (colored)

add erfl erfcl

Revision 1.4.8.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:18 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.4.8.1: +25 -1 lines
Diff to previous 1.4.8.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:52:02 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.1 (colored)

Rebase.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 16 12:54:43 2014 UTC (9 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) to selected 1.1 (colored)

Add modfl(3). From FreeBSD.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:36:57 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.4: +36 -1 lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.1 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 19 19:24:34 2013 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored) to selected 1.1 (colored)

Add cbrtl(3) and sqrtl(3), from FreeBSD.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 13 12:58:11 2013 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored) to selected 1.1 (colored)

Add FreeBSD's truncl and minimal testing.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 12 17:36:14 2013 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.7: +16 -1 lines
Diff to previous 1.7 (colored) to selected 1.1 (colored)

Add some fake long double -> double wrappers for various transcendental
functions. They are expected to be implement properly at a later time.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 12 16:48:39 2013 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored) to selected 1.1 (colored)

Initial version of fmodl from FreeBSD.
Basic test case for the fmod family.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 11 23:57:34 2013 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (colored) to selected 1.1 (colored)

Add initial version of ceill, floorl and roundl from FreeBSD.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:27:58 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.4: +13 -1 lines
Diff to previous 1.4 (colored) to selected 1.1 (colored)

resync with head

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 28 06:26:20 2013 UTC (11 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Changes since 1.4: +13 -1 lines
Diff to previous 1.4 (colored) to selected 1.1 (colored)

Add long double aliases

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 26 16:10:16 2011 UTC (12 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.1 (colored)

Add scalbnl to libm.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 23 19:17:07 2010 UTC (13 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.2: +6 -1 lines
Diff to previous 1.2 (colored) to selected 1.1 (colored)

-build ldexp/frexp/modf locally again rather than relying on libc
 reaching over, to get things into a sane state,
-do the usual namespace protection game with scalbn(f) because it
 is used internally
(more symbol renamings are necessary)

The weak_alias change for mc68881 is untested.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 20 16:01:39 2007 UTC (16 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Changes since 1.1: +24 -1 lines
Diff to previous 1.1 (colored)

Add C99 complex support, for double and float.
Most complex function implementations are from the "c9x-complex" library,
originating from the "cephes" math library, see
http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and
redistributed with the NetBSD license by permission of the author.

Error behaviour and other boundary conditions (branch cuts)
need to be looked at.

For namespace sanity, I've done the rename/weak alias procedure to
most of the exported functions which are also used internally.
Didn't do so for sin/cos(f) yet because assembler implementations use
them directly, and renaming functions shared between the main libm
and the machine specific "overlay" might raise binary compatibility
issues.

Revision 1.1 / (download) - annotate - [selected], Fri Aug 10 21:20:36 2007 UTC (16 years, 8 months ago) by drochner
Branch: MAIN

make the hypot/atan2 functions weak aliases, because they are used
internally by the historical cabs(), and the future c99 cabs/carg

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>