mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-23 14:49:13 +02:00
+ Patch from Johannes Berg for bug #2759
This commit is contained in:
parent
4584775cbe
commit
8373e40e10
@ -191,8 +191,8 @@
|
||||
else if expo=0 then
|
||||
power:=1
|
||||
else
|
||||
{ bas < 0 is not allowed }
|
||||
if bas<0 then
|
||||
{ bas < 0 is not allowed when doing roots }
|
||||
if (bas<0) and (frac(expo) <> 0) then
|
||||
handleerror(207)
|
||||
else
|
||||
power:=exp(ln(bas)*expo);
|
||||
@ -200,7 +200,10 @@
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.16 2003-11-11 21:08:17 peter
|
||||
Revision 1.17 2003-11-24 21:57:43 michael
|
||||
+ Patch from Johannes Berg for bug 2759
|
||||
|
||||
Revision 1.16 2003/11/11 21:08:17 peter
|
||||
* REGCALL define added
|
||||
|
||||
Revision 1.15 2003/09/08 18:21:37 peter
|
||||
|
Loading…
Reference in New Issue
Block a user