Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
You can't do "exact decimal" exponentiation. For the same reason that sqrt() is of type Double in the JPA, pow(decimal, 0.5) is also of type Double. Yes, yes, I know that some dbs (Postgres!) claim that the return type is NUMERIC for NUMERIC arguments. But go on, try it: yes, the return type of typed NUMERIC, but then it has a very suspicious number of digits. Hrrm.... 17 decimal digits, now why does that specific number ring a bell?
- Loading branch information