The NetBSD Project

CVS log for src/include/math.h

[BACK] Up to [cvs.NetBSD.org] / src / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.63.24.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:33 2018 UTC (8 months, 4 weeks ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.63: +15 -7 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Sun Jun 24 23:55:29 2018 UTC (8 months, 4 weeks ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi, 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, HEAD
Changes since 1.64: +17 -8 lines
Diff to previous 1.64 (colored)

Fix the rest of the functions that have been made visible by xopen5,
posix 2017, and c99.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jun 24 22:07:46 2018 UTC (8 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored)

PR/53393: coypu: move rint to the right section.

Revision 1.58.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:05 2014 UTC (4 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.58.2.2: +2 -2 lines
Diff to previous 1.58.2.2 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.56.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:36:35 2014 UTC (4 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.56.2.2: +101 -25 lines
Diff to previous 1.56.2.2 (colored) to branchpoint 1.56 (colored) next main 1.57 (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.63 / (download) - annotate - [select for diffs], Mon Sep 16 15:54:42 2013 UTC (5 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Allow archs to provide __isinf() and __isnan() as inline functions instead
of macros.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:49 2013 UTC (5 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.58.2.1: +14 -1 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored)

resync from head

Revision 1.62 / (download) - annotate - [select for diffs], Fri Apr 19 16:40:59 2013 UTC (5 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.61: +14 -1 lines
Diff to previous 1.61 (colored)

If __FLT_EVAL_METHOD__ exists and is in {0,1,2}, provide float_t and
double_t.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:27:47 2013 UTC (6 years ago) by tls
Branch: tls-maxphys
Changes since 1.58: +86 -23 lines
Diff to previous 1.58 (colored)

resync with head

Revision 1.61 / (download) - annotate - [select for diffs], Mon Feb 11 07:29:21 2013 UTC (6 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

FP_ILOGBNAN should be INT_MAX

Revision 1.60 / (download) - annotate - [select for diffs], Sat Feb 9 22:56:20 2013 UTC (6 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.59: +5 -1 lines
Diff to previous 1.59 (colored)

Define FP_ILOGB0 and FP_ILOGBNAN

Revision 1.59 / (download) - annotate - [select for diffs], Mon Jan 28 23:19:28 2013 UTC (6 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.58: +82 -23 lines
Diff to previous 1.58 (colored)

Add missing long double functions

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:30 2012 UTC (6 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.56.2.1: +3 -1 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored)

sync with head.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Wed May 9 18:22:36 2012 UTC (6 years, 10 months ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.57: +3 -1 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Pull up following revision(s) (requested by christos in ticket #232):
	distrib/sets/lists/comp/mi: revision 1.1756
	lib/libm/Makefile: revision 1.124
	lib/libm/src/math_private.h: revision 1.17
	lib/libm/src/b_tgamma.c: revision 1.1
	lib/libm/man/lgamma.3: revision 1.22
	lib/libm/src/b_log.c: revision 1.1
	lib/libm/src/b_exp.c: revision 1.1
	include/math.h: revision 1.58
	lib/libm/src/s_tgammaf.c: revision 1.1
add tgamma{,f}
Add tgamma{,f} from FreeBSD via  rudolf, netbsd at eq dot cz
oops, forgot to commit: add tgamma and tgammaf

Revision 1.58 / (download) - annotate - [select for diffs], Sat May 5 22:07:57 2012 UTC (6 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5
Branch point for: tls-maxphys
Changes since 1.57: +3 -1 lines
Diff to previous 1.57 (colored)

oops, forgot to commit: add tgamma and tgammaf

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:10 2012 UTC (6 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Sun Feb 5 17:57:17 2012 UTC (7 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base
Branch point for: netbsd-6
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

Use __INFINITY in preference to __builtin_inff().  Currently only VAX defines
__INFINITY and allows to use __builtin_huge_valf() instead since gcc4.5 will
error out unconditionally if __builtin_inf() is used.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Jul 28 22:32:28 2011 UTC (7 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.55: +3 -1 lines
Diff to previous 1.55 (colored)

Add ilogbl(3).

Revision 1.55 / (download) - annotate - [select for diffs], Tue Jul 26 16:10:15 2011 UTC (7 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.54: +4 -1 lines
Diff to previous 1.54 (colored)

Add scalbnl to libm.

Revision 1.47.16.2 / (download) - annotate - [select for diffs], Fri Apr 29 07:40:46 2011 UTC (7 years, 10 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.47.16.1: +5 -1 lines
Diff to previous 1.47.16.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Use GCC builtin for NAN (sync with current)

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:18:55 2011 UTC (8 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.53: +5 -1 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with HEAD

Revision 1.54 / (download) - annotate - [select for diffs], Sun Feb 6 00:44:08 2011 UTC (8 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: uebayasi-xip-base7, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.53: +5 -1 lines
Diff to previous 1.53 (colored)

remquo{,f} from FreeBSD via Stathis Kamperis

Revision 1.50.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:11:52 2010 UTC (8 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.50.2.2: +4 -0 lines
Diff to previous 1.50.2.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD (-D20101022).

Revision 1.53 / (download) - annotate - [select for diffs], Wed Sep 15 16:11:30 2010 UTC (8 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.52: +5 -1 lines
Diff to previous 1.52 (colored)

Commit SoC long double support from Stathis Kamperis

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:40:00 2010 UTC (8 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.50.2.1: +1 -1 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Sun May 2 06:31:48 2010 UTC (8 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: uebayasi-xip-base2
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

typo in comment

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:36:17 2010 UTC (8 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.50: +13 -2 lines
Diff to previous 1.50 (colored)

Sync with HEAD.

Revision 1.47.16.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:26:00 2010 UTC (8 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.47: +22 -2 lines
Diff to previous 1.47 (colored)

sync to netbsd-5

Revision 1.47.8.2 / (download) - annotate - [select for diffs], Fri Mar 12 21:58:42 2010 UTC (9 years ago) by riz
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.47.8.1: +10 -1 lines
Diff to previous 1.47.8.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Pull up following revision(s) (requested by snj in ticket #1330):
	lib/libm/man/fmax.3: revision 1.1-1.2
	lib/libm/src/s_fmin.c: revision 1.1-1.2
	lib/libm/src/s_fdim.c: revision 1.1
	lib/libm/src/s_fmaxl.c: revision 1.1
	lib/libm/Makefile: revision 1.90
	include/math.h: revision 1.49
	lib/libm/src/s_fmaxf.c: revision 1.1
	lib/libm/src/s_fmax.c: revision 1.1
	lib/libm/shlib_version: revision 1.10
	distrib/sets/lists/base/md.sparc64: revision 1.63 (via patch)
	distrib/sets/lists/base/shl.mi: revision 1.495 (via patch)
	lib/libm/src/s_fminl.c: revision 1.1
	distrib/sets/lists/comp/mi: revision 1.1317
	lib/libm/man/fdim.3: revision 1.1-1.3
	lib/libm/src/s_fminf.c: revision 1.1
	distrib/sets/lists/base/md.amd64: revision 1.70 (via patch)
add f{min,max,dim}{,l,f} from FreeBSD
These functions are going to first appear in 5.1, not 6.0.

Revision 1.47.8.1 / (download) - annotate - [select for diffs], Sat Mar 6 22:02:41 2010 UTC (9 years ago) by sborrill
Branch: netbsd-5
Changes since 1.47: +13 -2 lines
Diff to previous 1.47 (colored)

Pull up the following revisions(s) (requested by joerg in ticket #1315):
	include/math.h:	revision 1.51

Address PR#36988: ISO C99 mandates that HUGE_VAL, HUGE_VALF, HUGE_VALL and
INFINITY are constant expressions.
Use the GCC builtins if possible to implement them.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Feb 23 00:03:09 2010 UTC (9 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.50: +13 -2 lines
Diff to previous 1.50 (colored)

PR 36988: ISO C99 mandates that HUGE_VAL, HUGE_VALF, HUGE_VALL and
INFINITY are constant expressions.

Use the GCC builtins if possible to implement them.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jan 11 16:28:39 2010 UTC (9 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.49: +3 -1 lines
Diff to previous 1.49 (colored)

Add exp2 and exp2m

Revision 1.49 / (download) - annotate - [select for diffs], Sun Oct 4 22:59:25 2009 UTC (9 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.48: +10 -1 lines
Diff to previous 1.48 (colored)

oops forgot to commit that one--- Add f{dim,min,max}{,l,f}

Revision 1.47.12.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:19 2009 UTC (9 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.47: +5 -1 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.48 / (download) - annotate - [select for diffs], Sun Feb 22 01:34:01 2009 UTC (10 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.47: +5 -1 lines
Diff to previous 1.47 (colored)

Make NAN a compile time constant (with help from the compiler). Suggested
by krister. Fixes PR 40695.
Make references to the old construct (which we can't remove for binary
compatibility reasons) emit a linker warning.

Revision 1.46.10.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:09 2008 UTC (10 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.47.10.2 / (download) - annotate - [select for diffs], Fri Apr 25 21:20:58 2008 UTC (10 years, 10 months ago) by christos
Branch: christos-time_t
Changes since 1.47.10.1: +468 -0 lines
Diff to previous 1.47.10.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

make name const.

Revision 1.47.10.1, Fri Apr 25 21:20:57 2008 UTC (10 years, 10 months ago) by christos
Branch: christos-time_t
Changes since 1.47: +0 -468 lines
FILE REMOVED

file math.h was added on branch christos-time_t on 2008-04-25 21:20:58 +0000

Revision 1.47 / (download) - annotate - [select for diffs], Fri Apr 25 21:20:57 2008 UTC (10 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, 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, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, christos-time_t-nbase, christos-time_t-base
Branch point for: netbsd-5, matt-nb5-mips64, jym-xensuspend, christos-time_t
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

make name const.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Feb 22 22:08:19 2007 UTC (12 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42
Changes since 1.45: +1 -7 lines
Diff to previous 1.45 (colored)

-get cabs() and cabsf() out of public view - these are historical and
 conflict with C99 functions which are builtins in newer gcc
 (actually, the old cabs() is ABI compatible with the new _complex one
  on i386, but this is purely accidental)
 remove public prototypes and manpages, move the code into a compat
 subdirectory as libc does so that binary compatibility is kept
-add a manpage for the isgreater() etc macros, borrowed from FreeBSD

Revision 1.45 / (download) - annotate - [select for diffs], Tue Feb 6 17:29:37 2007 UTC (12 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.44: +11 -2 lines
Diff to previous 1.44 (colored)

add the isgreater() at al. comparision macros defined in C99 and SUSv3;
use just the primitive macros for now (identical to FreeBSD/DragonFly)
which don't use gcc internals, the rest can go in after some testing;
addresses PR standards/25520

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 25 16:41:11 2006 UTC (13 years ago) by xtraeme
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored)

Add trunc() and truncf() C99 functions, from FreeBSD.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 23 16:55:42 2006 UTC (13 years ago) by kleink
Branch: MAIN
Changes since 1.42: +4 -1 lines
Diff to previous 1.42 (colored)

Add nan(3), nanf(3), and nanl(3); welcome libm.so.0.4.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Dec 24 19:16:02 2005 UTC (13 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 21 12:56:29 2005 UTC (13 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.40: +3 -1 lines
Diff to previous 1.40 (colored)

Add log2f

Revision 1.40 / (download) - annotate - [select for diffs], Thu Feb 3 04:39:32 2005 UTC (14 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.39: +139 -139 lines
Diff to previous 1.39 (colored)

de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Fri Jul 16 20:32:10 2004 UTC (14 years, 8 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.34.2.1: +4 -3 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Pull up revision 1.39 (via patch, requested by junyoung in ticket #666):
  Move round() and roundf() to the C99 section, thereby fixing
  a namespace issue.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Thu Jul 15 20:56:40 2004 UTC (14 years, 8 months ago) by he
Branch: netbsd-2-0
Changes since 1.34: +3 -1 lines
Diff to previous 1.34 (colored)

Pull up revision 1.38 (via patch, requested by junyoung in ticket #664):
  Add C99 functions round(3) and roundf(3).
  Bump the teeny version number for libm.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Jul 12 23:44:52 2004 UTC (14 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Move round() to the C99 section.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jul 10 13:49:09 2004 UTC (14 years, 8 months ago) by junyoung
Branch: MAIN
Changes since 1.37: +10 -8 lines
Diff to previous 1.37 (colored)

lib/24252: Add C99 functions round(3) and roundf(3).
libm minor unchanged; ride a recent bump.

From FreeBSD.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 1 16:09:21 2004 UTC (14 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.36: +7 -1 lines
Diff to previous 1.36 (colored)

being here, add the (l)lround(f) functions to libm
(almost the same like lrint)

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 30 17:51:09 2004 UTC (14 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.35: +2 -0 lines
Diff to previous 1.35 (colored)

shut up lint's "long long" warnings

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jun 30 15:11:05 2004 UTC (14 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.34: +69 -49 lines
Diff to previous 1.34 (colored)

Add (l)lrint(f).
Being here, move some C99 function declarations into the appropriate
section (as discussed with kleink).

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 4 23:42:38 2004 UTC (15 years ago) by kleink
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.33: +27 -9 lines
Diff to previous 1.33 (colored)

* Turn isinf(3) and isnan(3) into C99-style macros.
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Mar 4 00:17:44 2004 UTC (15 years ago) by kleink
Branch: MAIN
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

Make lint happy for __fpmacro_unary_floating() users.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 20 19:52:40 2004 UTC (15 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.31: +1 -3 lines
Diff to previous 1.31 (colored)

Move FP_ROP and FP_DIRTYZERO from <math.h> to <vax/math.h> (where they
would have ended up if I hadn't missed the latter file in the commit).

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 20 19:26:53 2004 UTC (15 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

Add FP_ROP and FP_DIRTYZERO to MD range for VAX.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jan 17 01:04:46 2004 UTC (15 years, 2 months ago) by uwe
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Close the comment after #endif.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 15 19:43:44 2004 UTC (15 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.28: +64 -1 lines
Diff to previous 1.28 (colored)

Add C99 fpclassify(), isfinite(), isnormal(), and signbit() macros.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 26 00:02:02 2003 UTC (15 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.27: +11 -1 lines
Diff to previous 1.27 (colored)

C99 7.12#4: provide INFINITY, which defaults to HUGE_VALF.
If infinities are not available, the machine-dependent header must define
__INFINITY as a positive constant of type float that overflows.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Oct 25 22:35:46 2003 UTC (15 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.26: +16 -6 lines
Diff to previous 1.26 (colored)

C99: provide HUGE_VALF and HUGE_VALL.

Revision 1.26 / (download) - annotate - [select for diffs], Sat May 17 20:42:28 2003 UTC (15 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +14 -2 lines
Diff to previous 1.25 (colored)

Add long double support.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 28 23:16:13 2003 UTC (15 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.24: +18 -25 lines
Diff to previous 1.24 (colored)

Add a new feature-test macro, _NETBSD_SOURCE.  If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
  can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
  various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
  !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them.  In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Fri Mar 22 21:10:10 2002 UTC (17 years ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.23.2.1: +1 -1 lines
Diff to previous 1.23.2.1 (colored) next main 1.24 (colored)

Catch up to -current.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Mon Mar 11 21:07:50 2002 UTC (17 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.23: +26 -4 lines
Diff to previous 1.23 (colored)

Catch up to -current.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Feb 19 13:08:12 2002 UTC (17 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.23: +26 -4 lines
Diff to previous 1.23 (colored)

Clean up some rampant code duplication wrt ieee number handling:
 - Add alignment-safe double and float unions.
 - Use the above for the __infinity and __nan constants on all
   architectures that use the standard ieee754 representation of
   those constants.
 - Add a single copy of various ieee754 math functions (frexp, isinf,
   isnan, ldexp and modf) that had numerous duplicates among the
   arch-specific directories.
 - Use the above functions on all architectures where the generic C
   versions where used.  Architectures that had local assembly
   routines are untouched (for those functions only).

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 5 23:36:38 2001 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.22: +5 -1 lines
Diff to previous 1.22 (colored)

protect the incomplete cabs declarations with #ifndef __MATH_PRIVATE__ so that
the code that defines the functions can declare them properly.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Fri Jun 23 15:45:57 2000 UTC (18 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.21: +122 -122 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jun 13 01:21:53 2000 UTC (18 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.21: +122 -122 lines
Diff to previous 1.21 (colored)

Remove 'extern' from function declarations.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jan 4 14:20:05 2000 UTC (19 years, 2 months ago) by kleink
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.20: +4 -5 lines
Diff to previous 1.20 (colored)

const -> __const and include <sys/cdefs.h> earlier; fixes PR lib/9052
by Takahiro Kambe.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Dec 23 10:15:05 1999 UTC (19 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Aug 16 18:57:57 1999 UTC (19 years, 7 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Add missing isinff() declaration.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 31 19:32:26 1999 UTC (20 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

This file has still missing prototypes: cabs and cabsf... At least comment
what the arguments should be.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Nov 15 16:51:45 1998 UTC (20 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

s/void/const void/

Revision 1.16 / (download) - annotate - [select for diffs], Sun Nov 15 15:57:25 1998 UTC (20 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

cast to void * first to avoid lint warning.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 7 15:00:05 1998 UTC (20 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Oops, isinf() was never included in any X/Open interface specification.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jul 26 14:15:07 1998 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

const poisoning.

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 11 11:06:23 1998 UTC (20 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Fix comment typo in previous.

Revision 1.12 / (download) - annotate - [select for diffs], Thu May 7 18:50:08 1998 UTC (20 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.11: +31 -17 lines
Diff to previous 1.11 (colored)

Reorganize name space protection.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 8 23:42:59 1998 UTC (20 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

C++ has a very different concept of "exception."  Delimit struct exception
and matherr() with #ifndef __cplusplus.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 2 07:22:57 1998 UTC (21 years, 1 month ago) by perry
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +52 -52 lines
Diff to previous 1.1.1.1 (colored)

import lite-2

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 26 00:56:05 1994 UTC (24 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

new RCS ID format.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Aug 10 20:48:16 1994 UTC (24 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.8: +86 -37 lines
Diff to previous 1.8 (colored)

Added prototypes for float versions of math functions.
Removed prototypes for internal functions.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 1 17:16:19 1994 UTC (25 years ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Add cabs() and drem(), for BSD libm compatibility.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 14 02:11:39 1994 UTC (25 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Add missing _.  reported by several folks.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 11 18:36:42 1994 UTC (25 years, 1 month ago) by jtc
Branch: MAIN
Changes since 1.5: +192 -104 lines
Diff to previous 1.5 (colored)

New math.h, based on fdlibm's fdlibm.h.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 11 18:13:24 1993 UTC (25 years, 5 months ago) by jtc
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Moved definition of M_FOO constants into !_ANSI_SOURCE && !_POSIX_SOURCE
conditional.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 4 17:24:44 1993 UTC (25 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.3: +46 -46 lines
Diff to previous 1.3 (colored)

Use __pure qualifier.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 9 09:39:13 1993 UTC (25 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.2: +5 -10 lines
Diff to previous 1.2 (colored)

update for better FP routines, from AT&T & elsewhere

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 21 18:04:42 1993 UTC (26 years ago) by cgd
Branch: MAIN
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8
Changes since 1.1: +8 -1 lines
Diff to previous 1.1 (colored)

after 0.2.2 "stable" patches applied

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (26 years ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (26 years ago) by cgd
Branch: MAIN

Initial revision

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>