The NetBSD Project

CVS log for src/lib/libc/gdtoa/gdtoaimp.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:52 2014 UTC (6 months, 4 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.12.2.1: +2 -2 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.6.26.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.13.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:05 2013 UTC (17 months, 4 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.6.26.1 (colored)

resync from head

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 19 10:41:53 2013 UTC (20 months ago) by joerg
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, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-7, HEAD
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.6.26.1 (colored)

Pass locale down to gethex as well.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:18 2012 UTC (2 years, 8 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored) to selected 1.6.26.1 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 13 21:13:34 2012 UTC (2 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored) to selected 1.6.26.1 (colored)

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
  would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
  builds)

approved by core@

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:36 2011 UTC (3 years, 5 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.6.26.1 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 4 14:18:10 2011 UTC (3 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: 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
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored) to selected 1.6.26.1 (colored)

remove string placed by error(1)

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 21 22:33:29 2011 UTC (3 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) to selected 1.6.26.1 (colored)

Add Emin for the vax. Need to check

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 21 04:52:09 2011 UTC (3 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.6.26.1 (colored)

fix some lint on i386

Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 20 23:15:35 2011 UTC (3 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.8: +56 -32 lines
Diff to previous 1.8 (colored) to selected 1.6.26.1 (colored)

Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sat Mar 19 16:26:37 2011 UTC (3 years, 9 months ago) by christos
Branch: DMG
CVS Tags: gdtoa-2011-03-19
Changes since 1.1.1.1: +49 -40 lines
Diff to previous 1.1.1.1 (colored) to selected 1.6.26.1 (colored)

from www.netlib.org

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:18:59 2011 UTC (3 years, 10 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.6.26.1 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 21 23:36:49 2011 UTC (3 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.6.26.1 (colored)

add may alias attribute to the double union because gcc-4.5.x produces
incorrect code on ARMv7a. From Nikunj Badjatya and Amol Pise.

Revision 1.6.26.1 / (download) - annotate - [selected], Wed Apr 21 05:28:08 2010 UTC (4 years, 8 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync to netbsd-5

Revision 1.6.18.1 / (download) - annotate - [select for diffs], Sun Aug 16 00:14:34 2009 UTC (5 years, 4 months ago) by snj
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.6: +2 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.6.26.1 (colored)

Pull up following revision(s) (requested by christos in ticket #913):
	lib/libc/gdtoa/gdtoaimp.h: revision 1.7
Change Kmax so we allocate enough freelist entries to handle large field
numbers. Reported by Maksymilian Arciemowicz

Revision 1.6.24.1 / (download) - annotate - [select for diffs], Sun Aug 16 00:13:50 2009 UTC (5 years, 4 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.6.26.1 (colored)

Pull up following revision(s) (requested by christos in ticket #913):
	lib/libc/gdtoa/gdtoaimp.h: revision 1.7
Change Kmax so we allocate enough freelist entries to handle large field
numbers. Reported by Maksymilian Arciemowicz

Revision 1.6.22.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:23 2009 UTC (5 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.6.26.1 (colored)

Sync with HEAD.

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

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 7 20:31:44 2009 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: bouyer-quota2
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.6.26.1 (colored)

Change Kmax so we allocate enough freelist entries to handle large field
numbers. Reported by Maksymilian Arciemowicz

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Mon May 7 19:49:06 2007 UTC (7 years, 7 months ago) by pavel
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.6.26.1 (colored)

Pull up following revision(s) (requested by manu in ticket #607):
	lib/libc/arch/i386/gen/isnanl.c: revision 1.6
	lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
	lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
	lib/libc/gdtoa/gdtoaimp.h: revision 1.6
	sys/arch/m68k/include/ieee.h: revision 1.13
	usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
	lib/libc/stdio/snprintf_ss.c: revision 1.4
	lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
	lib/libc/stdio/vfscanf.c: revision 1.38
	sys/arch/sparc/include/ieee.h: revision 1.11-1.12
	lib/libc/gdtoa/dtoa.c: revision 1.4
	lib/libc/stdio/Makefile.inc: revision 1.35
	lib/libc/stdio/fvwrite.c: revision 1.17
	lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
	lib/libc/arch/i386/gen/isinfl.c: revision 1.6
	lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
	lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
	lib/libc/stdio/vfprintf.c: revision 1.55-1.57
	lib/libc/stdio/vsnprintf_ss.c: revision 1.3
	lib/libc/stdio/vfwprintf.c: revision 1.10
	sys/arch/x86/include/ieee.h: revision 1.10
	lib/libc/gdtoa/dmisc.c: revision 1.3
	lib/libc/gdtoa/Makefile.inc: revision 1.5
	sys/arch/hppa/include/ieee.h: revision 1.10
	lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
	lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
	sys/sys/ieee754.h: revision 1.7
	lib/libc/gdtoa/gdtoa.h: revision 1.7
	include/stdio.h: revision 1.67-1.68
	lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
	lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
  efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos:  gdtoa fixes for m68k.  M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Feb 3 16:44:02 2007 UTC (7 years, 10 months ago) by christos
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-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-1-RELEASE, mjf-devfs2-base, mjf-devfs2, 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, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, christos-time_t-nbase, christos-time_t-base, christos-time_t
Branch point for: netbsd-5-0, netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.6.26.1 (colored)

some int -> size_t
deal with sparc64 that has 112 bits of mantissa.

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 4 18:59:23 2006 UTC (8 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: netbsd-4
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored) to selected 1.6.26.1 (colored)

It is really bad style to define ULong unsigned long in one file and
uint32_t in another. No wonder lint was bitching (hello kjk)

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 4 18:38:56 2006 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored) to selected 1.6.26.1 (colored)

Only do the mutex dance if _REENTRANT

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 11 18:38:14 2006 UTC (8 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) to selected 1.6.26.1 (colored)

Const poisoning.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jan 25 15:27:42 2006 UTC (8 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.1: +102 -70 lines
Diff to previous 1.1 (colored) to selected 1.6.26.1 (colored)

* Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
  done in strtod.c.
* Some const poisoning, more to follow.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Jan 25 15:18:48 2006 UTC (8 years, 10 months ago) by kleink
Branch: DMG
CVS Tags: gdtoa-2005-09-23
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.6.26.1 (colored)

Import gdtoa-2005-09-23; test suite will be imported separately.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 25 15:18:48 2006 UTC (8 years, 10 months ago) by kleink
Branch: MAIN
Diff to selected 1.6.26.1 (colored)

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>