florian
|
1e1848da92
* fix exception generation in ln(...), resolves #38832
|
4 سال پیش |
florian
|
1d92cc43bb
* fpc_ln_real raises an exception for invalid operands if they exception is not masked
|
4 سال پیش |
florian
|
53a4e6c513
* patch by Zoran Vučenović: fixes TDoubleRec.SetFrac, resolves #38202
|
4 سال پیش |
pierre
|
e4e1ea586c
Revert wrong change, llvm supports extended constants
|
4 سال پیش |
pierre
|
6d900039c4
Fix LLVM compilation by casting untyped real constants to double type, as LLVM does not support extended type constant apparently
|
4 سال پیش |
florian
|
7281ea7a2c
* floating point division by zero should throw run time error 208, fixed
|
5 سال پیش |
pierre
|
adf064cbb4
New: rtl/inc/genmathh.inc source file, to provide a unique position
|
5 سال پیش |
pierre
|
834dbf5f80
Also use union with double field to ensure correct alignment for float64 type from genmath.inc source
|
5 سال پیش |
florian
|
af1a4c06c5
* fixed generic round(...) for large values based on a comment by Alexander Hofmann on fpc-devel
|
5 سال پیش |
florian
|
c189af0e3d
* improved software floating point exception handling in the rtl
|
5 سال پیش |
florian
|
781ecf4a59
* modified patch by Bart Broersma to resolves #33932: fixes compilation error with FPC_SOFT_FPUX80 in TExtended80Rec.BuildUp
|
7 سال پیش |
florian
|
2406bd052e
* by default, TExtended80Rec.Mantissa should not return the hidden bit (the binary representation of the data type contains it always
|
7 سال پیش |
michael
|
a9205c9fba
* Fix bug ID #32837, correct Mantissa and Fraction in float helpers, patch from Bart Broersma
|
7 سال پیش |
pierre
|
82dce8d7e1
Add FPC_SOFT_FPUX80 conditional code for 80-bit float type using soft float unit
|
7 سال پیش |
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.
|
9 سال پیش |
sergei
|
92447a9a20
* Moved local typed constants having the same value in several routines to global scope.
|
10 سال پیش |
nickysn
|
4fe1ec9c51
* fixed TSingleRec.SetSign on 16 and 8-bit CPUs
|
10 سال پیش |
florian
|
7180d184c5
+ implements TExtended80Rec, TDoubleRec, TSingleRec
|
10 سال پیش |
sergei
|
6807812997
* Avoid promotion to 64 bits due to mixing signed and unsigned expressions.
|
11 سال پیش |
sergei
|
f767d9017c
* Fixed sin(-0.0) to return -0.0 (was returning 0.0)
|
11 سال پیش |
sergei
|
65f75791ea
* rem_pio2: Return NaN for infinite or NaN arguments, so it is propagated into return values of sin(),cos() and other (not yet existing) callers.
|
11 سال پیش |
sergei
|
57c762c8d2
+ Inserted license header for AMath routines.
|
11 سال پیش |
sergei
|
bd58adfcc9
+ Added credits for functions reused from AMath/DAMath libraries.
|
11 سال پیش |
sergei
|
217bac7a0b
- Removed fpc_pi_real compilerproc, it is no longer used. At least two releases (2.6.2 and 2.6.4) emit Pi directly as a constant.
|
11 سال پیش |
sergei
|
14ee9d52aa
* Made constants DP1,DP2,DP3 local to function rem_pio2, because their values are correct only for double-precision calculations.
|
11 سال پیش |
sergei
|
94a045aa3d
* Moved declarations of TFPURoundingMode,TFPUExceptionMask and TFPUPrecisionMode to System unit. Declarations in Math unit changed to aliases.
|
11 سال پیش |
sergei
|
dcb46051c4
* Get rid of last softfloat dependencies in genmath.inc. Replaced remaining calls to float_raise with expressions which generate appropriate floating-point exceptions at runtime. This is probably somewhat slower on actual softfloat targets, but the change only affects exceptional control flow, so not a significant issue.
|
11 سال پیش |
sergei
|
fffc317759
* Replaced fpc_round_real with new implementation, having the following important properties:
|
11 سال پیش |
sergei
|
5f985602fb
* Replaced fpc_ln_real with modern port from fdlibm/uclibc, it has even better accuracy than damath library.
|
11 سال پیش |
sergei
|
aadb407e31
* Convert int64 to double in more straightforward way.
|
11 سال پیش |