florian
|
a867530056
|
* another fix of cosh/sinh overflow checking
|
2024-09-06 22:24:38 +02:00 |
|
florian
|
81ffe0ed36
|
* improved cosh/sinh argument checking
|
2024-09-05 22:21:56 +02:00 |
|
florian
|
d4a2f67a6d
|
+ check argument range for cosh/sinh
|
2024-09-04 22:08:45 +02:00 |
|
florian
|
1850eab89a
|
* ensure that the final assignment in the hyperbolic functions raises an exception if they overflow
|
2024-09-02 21:35:54 +01:00 |
|
florian
|
d8278b1699
|
* make typing more consitent; cosmetics
|
2024-08-30 21:42:07 +01:00 |
|
Ondrej Pokorny
|
617d56f23a
|
Move EqualsValue/LessThanValue/GreaterThanValue to unit Types, refer to them in the Math unit
|
2024-07-10 11:38:42 +02:00 |
|
florian
|
a0cae50af6
|
* rtl part of #35433
|
2024-05-01 23:15:12 +02:00 |
|
florian
|
4794e5ffcf
|
* improve math.power as suggested by Paolo Valle, resolves #40461
|
2023-10-15 23:17:24 +02:00 |
|
Michael VAN CANNEYT
|
ccfa38c68e
|
* Dotted RTL compiles
|
2023-07-27 19:04:03 +02:00 |
|
florian
|
9889a81062
|
* patch by Rika: Improve SinH and TanH, resolves #40086
|
2023-01-04 19:04:40 +01:00 |
|
florian
|
96eb5da939
|
* patch by Bart B: Implement sinh(), cosh() and tanh() for single, double and extended parameters, resolves #40083
|
2023-01-04 17:04:10 +01:00 |
|
florian
|
a260f1987c
|
* patch by Rika: Improve Math.CotH, resolves #40084
|
2023-01-03 23:13:33 +01:00 |
|
florian
|
cfbdf90ab0
|
* patch by Rika to optimize ArcCos, resolves #40078
|
2023-01-02 18:56:41 +01:00 |
|
florian
|
60c80a45a0
|
* patch by Bart B to complete missing functions in the math unit, resolves #40055
|
2023-01-01 22:52:57 +01:00 |
|
florian
|
cf41a549b9
|
* patch by Bart B and Rika for *H functions, part of #40055
|
2022-12-26 21:47:47 +01:00 |
|
florian
|
d948420eba
|
+ (modified) patch by Bart B to add Cycles conversion functions, part of #40055
|
2022-12-25 16:08:33 +01:00 |
|
florian
|
48b9751419
|
* patch by Alexey Torgashin to resolve #40054
|
2022-12-20 21:46:33 +01:00 |
|
florian
|
725da25477
|
* patch by Rika to improve IntPower, resolves #40036
|
2022-12-13 19:40:08 +01:00 |
|
florian
|
c92056fcac
|
* patches by Rika: Fix a bug in LdExp(extended), and test Math.Frexp/Ldexp implementations instead of own, resolves #40030
|
2022-12-11 20:04:46 +01:00 |
|
florian
|
06b0927f1e
|
* patch by Rika to improve FrExp and LdExp
|
2022-12-09 22:30:56 +01:00 |
|
florian
|
f8f824aa8d
|
* avoid unneeded widening of expressions due to constants defaulting to extended
|
2022-11-26 23:27:02 +01:00 |
|
florian
|
9e14dee1c3
|
* fixed Math.Tanh as proposed by Paolo Valle, resolves #39867
|
2022-08-17 20:56:43 +02:00 |
|
florian
|
cc66eb27ab
|
* patch by Rika: More numerical stability for Math, resolves #39863
|
2022-08-14 22:26:09 +02:00 |
|
florian
|
306559667c
|
* patch by Rika for ArcTan2 to reduce code size
|
2022-08-11 22:32:45 +02:00 |
|
florian
|
f18d6f1c85
|
* fixed and improved generic ArcTan2 implementation by Paolo Valle, resolves #39861
|
2022-08-10 18:23:22 +02:00 |
|
florian
|
2932787dee
|
* use SizeInt for counters in math unit, all non-32 bit targets should benefit from this
git-svn-id: trunk@48815 -
|
2021-02-26 22:47:06 +00:00 |
|
florian
|
4c1978c131
|
* reported by Bart on the mailing list: insert empty line to make clear to which function the comment applies
git-svn-id: trunk@46972 -
|
2020-09-27 13:05:36 +00:00 |
|
michael
|
a49c469a5d
|
* Fix defines for fpdoc
git-svn-id: trunk@46763 -
|
2020-09-04 15:19:28 +00:00 |
|
florian
|
cd35cdad25
|
* fix Min/MaxSingle/Double values, resolves #36870
git-svn-id: trunk@44714 -
|
2020-04-13 08:48:32 +00:00 |
|
florian
|
b8f186dab2
|
* reverted r43366
git-svn-id: trunk@43382 -
|
2019-11-03 14:42:02 +00:00 |
|
florian
|
5ead23513d
|
* more overloads for Math.Min/Max, resolves #36161
git-svn-id: trunk@43366 -
|
2019-11-02 16:21:43 +00:00 |
|
michael
|
863ede7dc6
|
* Add QWord version of Max (Delphi compatibility, bug ID #34364)
git-svn-id: trunk@39995 -
|
2018-10-20 12:28:56 +00:00 |
|
michael
|
ab159c638c
|
* Move consts to stdconv
git-svn-id: trunk@39994 -
|
2018-10-20 12:18:16 +00:00 |
|
michael
|
407753ea10
|
* Add constants for powers of 10 and 2. use integer/int64 where possible
git-svn-id: trunk@39992 -
|
2018-10-20 10:40:12 +00:00 |
|
florian
|
a825a66d01
|
* IntPower inverts the base first for negative exponents and multiplies then, resolves #34124
git-svn-id: trunk@39621 -
|
2018-08-16 20:45:35 +00:00 |
|
svenbarth
|
8a195c44ba
|
+ add overloads of IsInfinite() for Single and Extended (compatible with Delphi)
git-svn-id: trunk@39135 -
|
2018-05-28 15:36:18 +00:00 |
|
michael
|
e46b89c8bb
|
* Patch from Ondrej Pokorny to fix camelcase (bug ID 4b46872)
git-svn-id: trunk@38619 -
|
2018-03-24 14:39:56 +00:00 |
|
michael
|
16ba47be46
|
* Patch from Ondrej Pokorny to convert unit names to CamelCase (bug ID 33481)
git-svn-id: trunk@38616 -
|
2018-03-23 22:06:36 +00:00 |
|
florian
|
8a2cf56d51
|
* fixed operator mod for floats as proposed by wp in #33167, resolves #33167
git-svn-id: trunk@38332 -
|
2018-02-24 18:23:06 +00:00 |
|
michael
|
fb7d2d9ebd
|
* Patch from Anton Shepelev to fix variance and standard deviation calculation (bug ID 32804)
git-svn-id: trunk@37791 -
|
2017-12-24 10:02:02 +00:00 |
|
marco
|
a5487d327f
|
* intmean, patch by Bart. Bug #32661
git-svn-id: trunk@37688 -
|
2017-12-06 10:30:02 +00:00 |
|
michael
|
bb79ab787e
|
* Fix FULLVERSION check for randomfrom
git-svn-id: trunk@36718 -
|
2017-07-10 09:58:36 +00:00 |
|
michael
|
162b938409
|
* Patch from Thaddy De Koning to add generic RandomFrom
git-svn-id: trunk@36706 -
|
2017-07-09 10:11:01 +00:00 |
|
nickysn
|
958d74e41c
|
- removed the "else" in math.EnsureRange, because this way the compiler
generates entirely branchless code (via CMOVxx) on Pentium II or later (when
compiling with -CpPENTIUM2)
git-svn-id: trunk@36305 -
|
2017-05-23 13:17:28 +00:00 |
|
florian
|
69f41a776e
|
* jump-free Ceil*/Floor* implementations
git-svn-id: trunk@36283 -
|
2017-05-21 12:34:31 +00:00 |
|
michael
|
c3e50a36cc
|
* Move fpdoc block after uses clause
git-svn-id: trunk@35398 -
|
2017-02-05 09:51:43 +00:00 |
|
Károly Balogh
|
6dff85df58
|
math: replace trunc() with int() in some functions working with floats to avoid some unnecessary int64->double conversions, as trunc returns an integer, which then has to be converted back to float
git-svn-id: trunk@34995 -
|
2016-11-27 18:08:32 +00:00 |
|
Károly Balogh
|
5c87e870fd
|
tabs to spaces fix, no functional changes
git-svn-id: trunk@34994 -
|
2016-11-27 17:59:41 +00:00 |
|
michael
|
18f2592433
|
* float version of modulo (Patch from Thaddy De koning, bug ID #30744)
git-svn-id: trunk@34968 -
|
2016-11-26 16:57:34 +00:00 |
|
michael
|
364abc3c07
|
* Author retracted erf/erfc functions due to copyright issues
git-svn-id: trunk@33130 -
|
2016-02-28 08:27:01 +00:00 |
|