/[base]/head/lib/libc/i386/gen/infinity.c
ViewVC logotype

Log of /head/lib/libc/i386/gen/infinity.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 110566 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 8 20:37:55 2003 UTC (21 years, 4 months ago) by mike
File length: 276 byte(s)
Diff to previous 106268
Implement fpclassify():
o Add a MD header private to libc called _fpmath.h; this header
  contains bitfield layouts of MD floating-point types.
o Add a MI header private to libc called fpmath.h; this header
  contains bitfield layouts of MI floating-point types.
o Add private libc variables to lib/libc/$arch/gen/infinity.c for
  storing NaN values.
o Add __double_t and __float_t to <machine/_types.h>, and provide
  double_t and float_t typedefs in <math.h>.
o Add some C99 manifest constants (FP_ILOGB0, FP_ILOGBNAN, HUGE_VALF,
  HUGE_VALL, INFINITY, NAN, and return values for fpclassify()) to
  <math.h> and others (FLT_EVAL_METHOD, DECIMAL_DIG) to <float.h> via
  <machine/float.h>.
o Add C99 macro fpclassify() which calls __fpclassify{d,f,l}() based
  on the size of its argument.  __fpclassifyl() is never called on
  alpha because (sizeof(long double) == sizeof(double)), which is good
  since __fpclassifyl() can't deal with such a small `long double'.

This was developed by David Schultz and myself with input from bde and
fenner.

PR:		23103
Submitted by:	David Schultz <dschultz@uclink.Berkeley.EDU>
		(significant portions)
Reviewed by:	bde, fenner (earlier versions)


Revision 106268 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 31 23:05:20 2002 UTC (21 years, 8 months ago) by archie
File length: 200 byte(s)
Diff to previous 103686
Re-apply the previously backed-out commit that fixes the problem where
HUGE_VAL is not properly aligned on some architectures. The previous
fix now works because the two versions of 'math.h' (include/math.h
and lib/msun/src/math.h) have since been merged into one.

PR:	bin/43544


Revision 103686 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 20 15:43:26 2002 UTC (21 years, 9 months ago) by archie
File length: 177 byte(s)
Diff to previous 103653
Revert previous commit to unbreak world until we figure out the
right way to do it.


Revision 103653 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 19 19:47:27 2002 UTC (21 years, 9 months ago) by archie
File length: 200 byte(s)
Diff to previous 92986
Fix a problem with the definition of HUGE_VAL causing the gcc warning
"cast increases required alignment of target type" on some platforms.

Reviewed by:	bde


Revision 92986 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 22 21:53:29 2002 UTC (22 years, 3 months ago) by obrien
File length: 177 byte(s)
Diff to previous 50476
Fix the style of the SCM ID's.
I believe have made all of libc .c's as consistent as possible.


Revision 50476 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 28 00:22:10 1999 UTC (24 years, 10 months ago) by peter
File length: 143 byte(s)
Diff to previous 22993
$Id$ -> $FreeBSD$


Revision 22993 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 22 15:12:41 1997 UTC (27 years, 4 months ago) by peter
File length: 138 byte(s)
Diff to previous 21673
Revert $FreeBSD$ to $Id$


Revision 21673 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 14 07:20:47 1997 UTC (27 years, 5 months ago) by jkh
File length: 143 byte(s)
Diff to previous 5790
Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.


Revision 5790 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 23 01:30:24 1995 UTC (29 years, 5 months ago) by dg
File length: 138 byte(s)
Diff to previous 2201
First round of changes to clean up the RCSID mess in libc:

1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS.
2) Changed sccsid[] variables to rcsid[]
3) Moved all RCSID strings into .text
4) Converted all SCCSID's to RCS $Id$'s
5) Added missing $Id$'s after copyright.


Revision 2201 - (view) (download) (annotate) - [select for diffs]
Added Mon Aug 22 09:19:50 1994 UTC (29 years, 10 months ago) by jkh
File length: 126 byte(s)
This is weird.  I *added this*, but it went away again!  Ummm..  Mumble.
I'm confused..
Submitted by:	jkh


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.27