-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement exp
/pow
function
#7725
Comments
maybe exclude |
Hey Imatz, I wanted to contribute to the project, can you help me point out right resources and code pointers for implementing this. |
Hi @snipekill , thanks for your interest in this feature! |
As per the title. Right now, both x and y are casted into Float64 when pow(x, y). By PG's standard, we also need to support Decimal but Decimal has no built-in pow and we may also change the underlying crate for Decimal. So we leave it aside for now. Urgently requested by user. #7725 Approved-By: st1page Approved-By: TennyZhuang
Originally posted by @TennyZhuang in #7789 (comment) |
Any updates for |
Decimal unsupported yet, only double precision. After choosing a new Decimal crate. |
https://www.postgresql.org/docs/7.4/functions-math.html:
pow
behavior for decimal and special values #10028trunc
,ln
,log10
(log
),exp
,cbrt
(||/
) #9991The text was updated successfully, but these errors were encountered: