sergei
feeb50be4f
* Changed signature of frexp() to match one in Math unit, so eventually a duplicate implementation in Math can be removed. Currently this frexp() remains private to unit System.
...
git-svn-id: trunk@33173 -
2016-03-06 00:43:54 +00:00
sergei
94a045aa3d
* Moved declarations of TFPURoundingMode,TFPUExceptionMask and TFPUPrecisionMode to System unit. Declarations in Math unit changed to aliases.
...
* Changed type of softfloat_exception_mask and softfloat_exception_flags to TFPUExceptionMask, softfloat_rounding_mode to TFPURoundingMode.
- Cleaned out numerous conversions happening when getting/setting exception mask and rounding mode.
git-svn-id: trunk@27215 -
2014-03-20 22:44:46 +00:00
Jonas Maebe
05f9edbd08
* fixed compilation on Solaris after r20815
...
git-svn-id: trunk@21014 -
2012-04-24 11:08:08 +00:00
Jonas Maebe
d7a12a01e8
* fixed c_truncf declaration (double -> single)
...
git-svn-id: trunk@20831 -
2012-04-11 18:05:45 +00:00
Jonas Maebe
c26ff16c1e
* on AIX, you have to enable fpu exception reporting per process via an
...
OS call before changes to the fpscr exception mask have any effect
* use OS calls to change FPU state on AIX, does not always propagate
otherwise
* don't use libc's log() on AIX, it wrongly returns a division-by-zero
exception in some cases
git-svn-id: trunk@20815 -
2012-04-11 18:04:26 +00:00
Jonas Maebe
7e9da1ce1a
* floating point exception checking support for aix for libc helpers
...
(they don't raise exceptions themselves)
git-svn-id: trunk@20814 -
2012-04-11 18:04:21 +00:00
Jonas Maebe
310ec39757
* fixed + optimized generic round_real
...
- removed cgenmath version of round_real because it wasn't any better
than the generic one anymore
git-svn-id: trunk@11295 -
2008-06-28 14:17:06 +00:00
Jonas Maebe
30a51c2dee
+ support for the different rounding modes in the generic rounding
...
routines (mantis #11392 )
git-svn-id: trunk@11290 -
2008-06-27 17:20:56 +00:00
Jonas Maebe
b967d88b0c
* don't use libc round/trunc/cos/... if FPC_HAS_TYPE_EXTENDED, because
...
the imported routines only support double precision
git-svn-id: trunk@9202 -
2007-11-11 19:10:34 +00:00
Jonas Maebe
83884ec540
* more "real" fixes
...
git-svn-id: trunk@4641 -
2006-09-17 21:44:20 +00:00
florian
0c8c95c334
* older Solaris doesn't have trunc in libc
...
git-svn-id: trunk@2473 -
2006-02-07 21:40:19 +00:00
Jonas Maebe
4c3fb9ae00
* frexp has out instead of var parameter
...
git-svn-id: trunk@2040 -
2005-12-23 22:03:21 +00:00
michael
3a2eaa94b1
+ Removed INTERNCONSTINTF define
...
git-svn-id: trunk@267 -
2005-06-07 22:04:18 +00:00
michael
93ba0409be
+ Removed HASCOMPILERPROC define
...
git-svn-id: trunk@265 -
2005-06-07 21:41:02 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
Jonas Maebe
b6a6e78db1
* fixed remaining compilation problems
2004-11-21 16:14:59 +00:00
peter
4d8460ec2f
* float routines all use internproc and compilerproc helpers
2004-11-21 15:35:23 +00:00
Jonas Maebe
cfeaa8aa65
* some compilation fixes for powerpc after all the internconst and
...
internproc changes, still crashes with internalerror(88) for ppc1
on real2str.inc(193,39)
2004-11-20 15:49:21 +00:00
Jonas Maebe
9b5904d230
- disabled llround, not present under Mac OS X 10.1
2004-10-12 07:08:33 +00:00
Jonas Maebe
0f26252376
+ cgenmath with libc math functions. Faster than the routines in genmath
...
and also have full double support (exp() only has support for values in
the single range in genmath, for example). Used in FPC_USE_LIBC is
defined
* several fixes to allow compilation with -dHASINLINE, but internalerrors
because of missing support for inlining assembler code
2004-10-09 21:00:46 +00:00