Subject | Error in power function in firebird 2.5 |
---|---|
Author | Jesus Garcia |
Post date | 2015-08-12T11:00:57Z |
In firebird documentation appears that in power function with an x value negative, an error is raised, but I can execute in firebird 2.5
select power(-3.215,2) from rdb$database
where is the mistake, function or docs?
Available in: DSQL, PSQL
Added in: 2.1
Description: Returns x
to the y
'th
power.
Result type: DOUBLE PRECISION
Syntax:
POWER (x, y)
If
x
negative, an error is raised.