www.delorie.com/bin/cvsweb.cgi/djgpp/src/libc/ansi/stdio/doprnt.c   search  
CVS log for djgpp/src/libc/ansi/stdio/doprnt.c

To download the latest version of this file, click on most recent revision number, then use your browser's "save page as" feature.

Up to djgpp/src/libc/ansi/stdio/
Request diff between arbitrary revisions
No default branch

1.44 Mon May 14 16:56:40 2018 UTC by juan.guerrero
CVS Tags: HEAD
Diffs to 1.43
Use bool instead of int where appropriate.

1.43 Sun Apr 29 13:17:49 2018 UTC by juan.guerrero
Diffs to 1.42
Print the value of denormals and pseudo-denormals instead of printing NAN as used to be to be compatible with GNU.  This is no longer true.

1.42 Thu Feb 1 6:28:07 2018 UTC by sezeroz
Diffs to 1.41
Revert: "Prototypes of _doprnt, _doscan and _doscan_low moved to libc/doprsc.h"

The rationale behind this changeset was a _doprnt() incompatibility
which had been added to binutils/bfd, but it has already been fixed:
http://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=8f314ad58ec824ce6c8467af29f11583f79a80ea
Therefore, we don't need this change anymore.

1.41 Thu Jan 4 18:08:01 2018 UTC by juan.guerrero
Diffs to 1.40
Include libc/doprsc.h.

1.40 Thu Jun 4 17:55:20 2015 UTC by andris
CVS Tags: v2_05, v2_05_1
Diffs to 1.39
Update copyright lines of recently modified files

1.39 Sat May 23 8:50:08 2015 UTC by sezeroz
Diffs to 1.38
* doprnt.c, doscan.c: locally define bool/false/true and remove the
  stdbool.h usage.

* libc/ansi/time/strftime.c: revert parts of r1.8 and simply use 0
  and 1 instead of true and false again.

* djtar/unbzip2.c: revert parts of r1.4 and go back to the original
  TRUE and FALSE usage.

* tests/libc/c99/math/t-ismac.c: locally define bool/false/true and
  remove stdbool.h usage.

1.38 Sat May 23 8:37:49 2015 UTC by sezeroz
Diffs to 1.37
doprnt.c: avoid unused warnings from gcc2

1.37 Sat May 23 8:35:29 2015 UTC by sezeroz
Diffs to 1.36
doprnt.c: removed the CHARINT case from the ARG macro.
  (char basetype) seems wrong and the case is handled
  with the generic case already.

1.36 Fri Jan 10 18:21:56 2014 UTC by juan.guerrero
Diffs to 1.35
Handle case when field width specifier for AEFG conversion specifiers exceeds max default precision of 39 decimal digits.

1.35 Fri Jan 10 18:17:31 2014 UTC by juan.guerrero
Diffs to 1.34
White space changes.

1.34 Wed Mar 13 20:10:16 2013 UTC by juan.guerrero
Diffs to 1.33
Revert previous change.

1.33 Tue Mar 5 19:42:48 2013 UTC by juan.guerrero
Diffs to 1.32
Print sign of NaN.

1.32 Tue Dec 11 23:35:30 2012 UTC by juan.guerrero
Diffs to 1.31
Minor changes.

1.31 Mon Dec 3 14:11:15 2012 UTC by juan.guerrero
Diffs to 1.30
Rename exponentl, isspeciall and cvtl into doprnt_exponentl, doprnt_isspeciall and doprnt_cvtl to be consistent with doprnt_roundl.

1.30 Sat Jul 30 21:32:32 2011 UTC by juan.guerrero
Diffs to 1.29
Fix unused-but-set error/warning.

1.29 Sun Jun 8 0:25:36 2008 UTC by juan.guerrero
Diffs to 1.28
Use true and false from stdbool.h.

1.28 Sun May 11 20:42:41 2008 UTC by juan.guerrero
Diffs to 1.27
"type punning" fix to pacify gcc 4.3.0.

1.27 Thu May 1 0:45:51 2008 UTC by juan.guerrero
Diffs to 1.26
Implementation of numeric conversion specifier support.
New function __traverse_argument_list added.

1.26 Thu May 1 0:11:27 2008 UTC by juan.guerrero
Diffs to 1.25
Implementation of %[aA] conversion specifier.

1.25 Wed Apr 30 23:57:09 2008 UTC by juan.guerrero
Diffs to 1.24
Use of nan/NAN and inf/INF (C99 strings) instead of Inf and
NaN strings.  Also return nan/NAN instead of "Unnormal".

1.24 Wed Apr 30 23:50:46 2008 UTC by juan.guerrero
Diffs to 1.23
New function __grouping_format.  Formats the integer portion
of the result of a decimal conversion (%i, %d, %u, %f, 	%F,
%g and %G) using the non-monetary thousends' grouping character.

1.23 Thu Apr 24 23:26:30 2008 UTC by juan.guerrero
Diffs to 1.22
Under %+f and the likes, print +nan for NaN,
else print never a sign.

1.22 Wed Apr 23 16:37:37 2008 UTC by juan.guerrero
Diffs to 1.21
Under %f and the likes, print -0.0 for a negative zero
and -nan for negative NaN.

1.21 Fri Mar 14 22:26:54 2008 UTC by dj
Diffs to 1.20
The configure script of m4-1.4.10 tests certain printf behaviour issueing a
code line similar to this one:
  printf("%010f", 1.0 / 0.0);
Linux produces and passes the test with this output:
  "       inf"
but current CVS version of _doprnt() produces this output:
  "0000000Inf"
The following patch should fix the issue.

Regards,
Juan Manuel Guerrero

1.20 Tue Dec 11 7:27:40 2007 UTC by andris
Diffs to 1.19
Various small fixes to avoid warnings with gcc-4.0 and gcc-4.1. It would
have be nice to commit this in smaller pieces, but it would require
too much work.

Patch from Markus F.X.J. Oberhumer <markus@oberhumer.com>
(http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/2006/06/12/06:28:05)

1.19 Thu Mar 17 19:00:40 2005 UTC by ams
Diffs to 1.18
roundl -> doprnt_roundl

1.18 Sat Nov 8 12:19:40 2003 UTC by richdawe
Diffs to 1.17
Locale fixes from Alexander Aganichev

1.17 Tue Aug 19 10:30:51 2003 UTC by peuha
Diffs to 1.16
Change integer conversion for better accuracy.

1.16 Mon Jun 30 20:38:15 2003 UTC by richdawe
Diffs to 1.15
Build fixes for gcc 3.3 from Andrew Cottrell: type-punning
(Previous commit was done using a slightly old patch. Update
to the newer version, to avoid namespace pollution.)

1.15 Sun Jun 29 14:20:52 2003 UTC by richdawe
Diffs to 1.14
gcc 3.3 build fixes from Andrew Cottrell: type-punning

1.14 Fri Jan 24 18:53:33 2003 UTC by richdawe
Diffs to 1.13
Add support for j, z and t conversion specifiers; mark new C99
conversion specifiers as being C99.

1.13 Sun Dec 22 4:42:28 2002 UTC by sandmann
Diffs to 1.12
Move stdiohk pull in to exit where it is used

1.12 Fri Dec 6 9:35:51 2002 UTC by richdawe
Diffs to 1.11
Add support for the 'hh' conversion specifier for chars

1.11 Thu Oct 17 23:00:24 2002 UTC by richdawe
Diffs to 1.10
Update copyright messages

1.10 Wed Jan 9 22:00:10 2002 UTC by ams
Diffs to 1.9
Avoid GCC 3.03 warnings.

1.9 Sat Jun 9 20:33:22 2001 UTC by ams
Diffs to 1.8
Do not mix signed and unsigned.

1.8 Sun Jul 4 14:18:04 1999 UTC by eliz
CVS Tags: v2_03, v2_03_1
Diffs to 1.7
Under %+f and the likes, print -0.0 for a negative zero.
Reported by Eric Rudd.

1.7 Sun Jun 27 16:31:39 1999 UTC by eliz
Diffs to 1.6
Rename nan -> nan_p, since the former conflicts with a function
from libm.a (whose prototype will be added to math.h).

1.6 Mon Jun 14 16:20:40 1999 UTC by eliz
Diffs to 1.5
Make sure arguments to ctype functions are always in the
range [-1..255].

1.5 Thu Jun 3 17:27:33 1999 UTC by dj
Diffs to 1.4
update copyright dates

1.4 Sat Mar 20 21:27:41 1999 UTC by dj
Diffs to 1.3
This is a patch for doprnt that prevents it from crashing on unnormals from Eli

1.3 Sun Nov 15 13:53:46 1998 UTC by dj
CVS Tags: v2_02
Diffs to 1.2
import djgpp 2.02

1.2 Fri Sep 13 22:20:28 1996 UTC by dj
CVS Tags: v2_01
Diffs to 1.1
import djgpp 2.01

1.1 Wed Jan 24 3:30:16 1996 UTC by dj
CVS Tags: v2_00
import djgpp 2.00

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.

Diffs between and
Unidiff
Context diff
Side-by-Side

You may select to see revision information from only a single branch.

Branch:

  webmaster     delorie software   privacy  
  Copyright © 2020   by DJ Delorie     Updated Apr 2020