Skip to content
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

logBase generates invalid sql #232

Open
abigailalice opened this issue Apr 26, 2023 · 0 comments
Open

logBase generates invalid sql #232

abigailalice opened this issue Apr 26, 2023 · 0 comments

Comments

@abigailalice
Copy link
Contributor

I recently noticed attempting to use the logBase function causes an error with function log(real, real) does not exist or function log(double precision, double precision) does not exist, depending on whether I'm using Expr Float or Expr Double. This link seems to suggest the binary log function is only defined for numeric, though I'm not sure what (if any) Haskell type that would correspond to.

logBase should probably be implemented as log x / log b for the standard types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant