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

[stdlib] Add FloatLiteral.{exp, log, pow} #3354

Open
wants to merge 1 commit into
base: nightly
Choose a base branch
from

Conversation

helehex
Copy link
Contributor

@helehex helehex commented Aug 3, 2024

Add methods:

  • FloatLiteral.__exp__()
  • FloatLiteral.__log__()
  • FloatLiteral.__pow__(IntLiteral)
  • FloatLiteral.__pow__(FloatLiteral)

@helehex helehex requested a review from a team as a code owner August 3, 2024 21:41
@helehex
Copy link
Contributor Author

helehex commented Aug 3, 2024

The default atol gives about ~20 iterations for each exp and log.
It could probably be improved, but it might be good for now.

@helehex
Copy link
Contributor Author

helehex commented Aug 3, 2024

Oh, let me restate the tests to match the others in that file, I like them better.

Signed-off-by: Max Brylski <helehex@gmail.com>
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

Successfully merging this pull request may close these issues.

1 participant