| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
explode, so nix the old strtod() / dtoa(). This change is part
of the gdtoa patches reviewed on standards@.
Notes:
svn path=/head/; revision=112257
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
architecture, mainly to avoid getting a SIGFPE signal sent
when calling strtod(3) with certain input.
The SIGFPE has been sent because the code was not aware that
a Gradual Underflow is handled in software via traps on the
Alpha architecture, but is not implemented in our Alpha kernel
layer.
With `Sudden_Underflow' defined, strtod(3) should not depend
on Gradual Underflow and adjust its calculations accordingly,
which means that other, more subtle errors than the sending of
SIGFPE could be solved by this.
Discussed with: bde
PR: alpha/12623
PR: alpha/17032
PR: alpha/43567
MFC after: 7 days
Notes:
svn path=/head/; revision=106918
|
|
|
|
| |
Notes:
svn path=/head/; revision=103012
|
|
|
|
|
|
|
|
|
|
|
| |
definitions of the functions that convert strings to numbers
and are defined by IEEE Std 1003-1.2001.
- Use ANSI-C function definitions for all of the functions
mentioned above plus strtouq and strtoq.
- Update the prototypes in the manual pages.
Notes:
svn path=/head/; revision=101912
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to cause bugs when gcc is more aggressively optimising things.
There are still problems with dtoa mentioned in the PR - maybe
Dan could suggest a patch.
PR: 40209
Submitted by: Dan Lukes <dan@obluda.cz>
Approved by: bde
MFC after: 2 weeks
Notes:
svn path=/head/; revision=101812
|
|
|
|
|
|
|
| |
Submitted by: keramida
Notes:
svn path=/head/; revision=97407
|
|
|
|
| |
Notes:
svn path=/head/; revision=97044
|
|
|
|
|
|
|
| |
I believe have made all of libc .c's as consistent as possible.
Notes:
svn path=/head/; revision=92986
|
|
|
|
| |
Notes:
svn path=/head/; revision=91161
|
|
|
|
|
|
|
| |
Reviewed by: bde
Notes:
svn path=/head/; revision=87872
|
|
|
|
|
|
|
|
|
|
|
|
| |
removing it from our source tree in order to have one version
of strtod() for all arches. netbsd_strtod.c still left in source
tree until alpha folks make sure that our native strtod() works
as well as NetBSD's one.
Reviewed by: peter, bde (some time ago)
Notes:
svn path=/head/; revision=87123
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The definition of character class digit requires that only ten characters
-the ones defining digits- can be specified; alternate digits (for
example, Hindi or Kanji) cannot be specified here. However, the encoding
may vary if an implementation supports more than one encoding.
The definition of character class xdigit requires that the characters
included in character class digit are included here also and allows for
different symbols for the hexadecimal digits 10 through 15.
Notes:
svn path=/head/; revision=87078
|
|
|
|
| |
Notes:
svn path=/head/; revision=87040
|
|
|
|
|
|
|
| |
Optimize national digits code a bit
Notes:
svn path=/head/; revision=87038
|
|
|
|
| |
Notes:
svn path=/head/; revision=87029
|
|
|
|
|
|
|
|
|
| |
the netbsd_strtod.c file we have does not. More still should be done
here, but this works happily on my Alpha. I have not (yet?) changed
the Makefile.inc to use this.
Notes:
svn path=/head/; revision=86043
|
|
|
|
|
|
|
|
| |
s/IEEE_8087/IEEE_LITTLE_ENDIAN/
s/IEEE_MC68k/IEEE_BIG_ENDIAN/
Notes:
svn path=/head/; revision=86033
|
|
|
|
|
|
|
| |
shouldn't.
Notes:
svn path=/head/; revision=84591
|
|
|
|
| |
Notes:
svn path=/head/; revision=73021
|
|
|
|
|
|
|
|
|
|
|
| |
Change __dtoa to not free the string it allocated the previous time it was
called. The caller now frees the string after usage if appropiate.
PR: 15070
Reviewed by: deischen
Notes:
svn path=/head/; revision=72523
|
|
|
|
|
|
|
| |
Obtained from: inspired by NetBSD strtod
Notes:
svn path=/head/; revision=72287
|
|
|
|
|
|
|
| |
PR: 15070
Notes:
svn path=/head/; revision=72254
|
|
|
|
|
|
|
|
|
|
| |
Change __dtoa to not free the string it allocated the previous time it was
called. The caller now frees the string after usage if appropiate.
PR: 15070
Notes:
svn path=/head/; revision=72179
|
|
|
|
|
|
|
| |
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Notes:
svn path=/head/; revision=17141
|
|
|
|
|
|
|
| |
instead of hardcoded whitespaces
Notes:
svn path=/head/; revision=9846
|
|
Notes:
svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573
|