Jonas Maebe
0a88009059
* comment and formatting fixes by Christian Budde (mantis #19919 )
...
git-svn-id: trunk@18134 -
2011-08-07 10:10:51 +00:00
florian
37b8b791d5
* overloaded versions of IsNan, resolves #14351
...
* prefer <ord> -> single over <ord> -> double/extended, this is delphi compatible
git-svn-id: trunk@17758 -
2011-06-14 20:38:51 +00:00
Jonas Maebe
60f8b7fcb1
+ int64 version of randomrange() (mantis #16108 )
...
git-svn-id: trunk@15097 -
2010-03-30 20:04:19 +00:00
florian
0c153a46df
* math.power/intpower(0,0) return 1, this is as recommended in IEEE 754
...
as well as compatible with other programming languages and delphi
git-svn-id: trunk@14873 -
2010-02-06 23:10:03 +00:00
florian
31e2f16484
resolves #15453 :
...
* fixes i386 DivMod with negative numbers with a patch from Jonas
* fixes generic DivMod with negative numbers
* test updated
git-svn-id: trunk@14532 -
2010-01-03 14:59:01 +00:00
florian
a14db25c64
+ procedure DivMod(Dividend: Integer; Divisor: integer; var Result, Remainder: integer); and procedure DivMod(Dividend: cardinal; Divisor: cardinal; var Result, Remainder: cardinal);, resolves #14286
...
+ assembler implementations of DivMod for i386
git-svn-id: trunk@13508 -
2009-08-09 20:47:06 +00:00
marco
2c82c6a747
* several functions are now marked with overload;
...
* implementation of RandomFrom for some float type
(Mantis #12662 )
git-svn-id: trunk@13490 -
2009-08-04 08:20:13 +00:00
florian
855a65a061
+ RandomRange
...
git-svn-id: trunk@13262 -
2009-06-11 20:43:24 +00:00
Jonas Maebe
1c2d2ae481
* fixed SimpleRoundTo() function (mantis #10159 )
...
git-svn-id: trunk@12957 -
2009-03-22 16:29:54 +00:00
marco
f0c236b992
* Made overloading situation ifthen more Delphi compatible. Mantis #12662
...
All string variants now in one unit.
git-svn-id: trunk@12442 -
2008-12-27 18:43:22 +00:00
Almindor
3588a9d02c
* inline the ** operators since they just call functions directly
...
git-svn-id: trunk@11461 -
2008-07-26 10:31:23 +00:00
michael
c98d7325f6
* GOTO ON in source.
...
git-svn-id: trunk@10889 -
2008-05-05 19:33:17 +00:00
micha
83b7f81f81
+ add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
...
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
Jonas Maebe
edffeac316
* declare math.pinteger as an alias of objpas.pinteger to avoid type
...
masking errors (mantis #10540 )
git-svn-id: trunk@9617 -
2008-01-02 19:53:14 +00:00
marco
c6e2d72e3c
* D7 compat, neginfinity (bug 10490)
...
git-svn-id: trunk@9564 -
2007-12-29 13:12:10 +00:00
michael
cb9608c149
* Replaced suspected copyright infringement of MomentSkewKurtosis with clean-room implementation by Vincent Snijders
...
git-svn-id: trunk@9265 -
2007-11-16 15:24:17 +00:00
yury
1807613f88
* Made NaN = 0.0/0.0 for arm-linux. It is calculated as Nan on Florian's arm-linux box. ln(-1.0) is calculated as -Inf on arm-linux and x86. It fixes bug #9132 .
...
git-svn-id: trunk@8045 -
2007-07-14 08:55:54 +00:00
daniel
b293a9bdd4
- Revert patch by Alex Raine.
...
git-svn-id: trunk@7669 -
2007-06-15 14:13:26 +00:00
daniel
14f2edc56e
+ Assembler implementation of min/max by Alex Rayne.
...
git-svn-id: trunk@7668 -
2007-06-15 13:59:20 +00:00
michael
25a29c1159
* Undid revision 6462
...
git-svn-id: trunk@6955 -
2007-03-22 18:43:14 +00:00
marco
b7b057d570
* patch for 8452 committed
...
git-svn-id: trunk@6781 -
2007-03-10 21:05:48 +00:00
michael
3275f36b8f
* IsNan, IsInfinite for Extended and Double
...
git-svn-id: trunk@6462 -
2007-02-12 20:57:24 +00:00
Jonas Maebe
0e1c9c901d
+ cot, sec, csc, secant, cosecant (mantis #8142 )
...
git-svn-id: trunk@6170 -
2007-01-24 19:22:53 +00:00
Vincent Snijders
07579ca74f
* fixed typo, causing compilation error on win64
...
git-svn-id: trunk@5814 -
2007-01-05 08:16:18 +00:00
florian
4b88079c41
+ i386 assembler implementations of tan, cotan, sincos
...
* default tan, cotan use now sincos
git-svn-id: trunk@5809 -
2007-01-04 12:58:40 +00:00
florian
f6fe70ae0c
* sincos result parameters changed from var to out
...
git-svn-id: trunk@5807 -
2007-01-04 10:55:21 +00:00
yury
dddeb7c763
* fixed for wince.
...
git-svn-id: trunk@5660 -
2006-12-21 15:21:22 +00:00
michael
4e1fcbed2c
* Added RoundTo and SimpleRoundTo
...
git-svn-id: trunk@5587 -
2006-12-13 20:25:20 +00:00
marco
86a834d2df
* sign() extended and single
...
git-svn-id: trunk@5223 -
2006-11-04 16:57:24 +00:00
marco
66d37158e1
* ifthen doesn't need mathinline. It is not internal on some platforms.
...
git-svn-id: trunk@5221 -
2006-11-04 16:01:32 +00:00
florian
82d57d9ca8
+ signed DivMod added, closes #6805
...
git-svn-id: trunk@5132 -
2006-10-31 22:19:04 +00:00
marco
0e7763b0e5
* Another missing func (bug 7678) ifthen(string)
...
git-svn-id: trunk@5031 -
2006-10-27 17:28:24 +00:00
marco
c177d64fd7
* fix for bug #7658 ; comparevalue
...
git-svn-id: trunk@5030 -
2006-10-27 17:25:03 +00:00
florian
d6fe62f0d1
* overloaded statistics functions from Burkhard Carstens, fixed #7236
...
git-svn-id: trunk@4385 -
2006-08-07 19:38:37 +00:00
florian
c8b0d1ae2d
* made some headers more Delphi compatible, from Burkhard Carstens
...
git-svn-id: trunk@4234 -
2006-07-16 16:28:28 +00:00
yury
350bc3f626
* use NaN = 0.0/0.0 for wince.
...
git-svn-id: trunk@4105 -
2006-07-06 18:57:34 +00:00
michael
e9420ae581
* Fix from programo@vp.pl for frexp function, in case X=0 or X=1
...
git-svn-id: trunk@3310 -
2006-04-21 18:50:26 +00:00
peter
e58e92c4fa
* added sumInt
...
git-svn-id: trunk@2380 -
2006-01-29 19:46:14 +00:00
florian
2d606f52f3
+ added missing inline directives for 2.0.x
...
git-svn-id: trunk@818 -
2005-08-07 15:17:07 +00:00
florian
494664ae3f
+ some inline directives added
...
+ max/min(cardinal,cardinal) removed, causes trouble, see e.g. webtbs/tw3900.pp
git-svn-id: trunk@817 -
2005-08-07 15:10:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254
+ Removed VER1_0 defines
...
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +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
florian
e348a6ad83
* operator **(int64,int64) returns int64 now
2005-02-08 20:49:16 +00:00
florian
f093fa9242
- killed power from system unit
...
* move operator ** to math unit
2005-02-08 20:25:28 +00:00
marco
63acb3629e
* fixed
2005-01-31 13:59:23 +00:00
florian
6f6ab71989
* generic arctan2 for 3rd and 4th quadrand fixed
2005-01-12 20:17:39 +00:00
florian
bde79cc3ff
* compilation on ARM fixed
2005-01-04 16:47:05 +00:00
Jonas Maebe
a4189bd7fd
* also invalid argument if trying to calculate 0^0 with intpower()
2004-12-05 16:52:34 +00:00