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

handle NaN/inf and negative numbers in pow/root/log/tetrate more explicitly? (partially done) #13

Open
Patashu opened this issue Mar 15, 2019 · 2 comments
Labels
is this optimal? possible performance improvements

Comments

@Patashu
Copy link
Owner

Patashu commented Mar 15, 2019

use http://mrob.com/pub/comp/hypercalc/hypercalc.txt as a reference

an interesting thingHyperCalc does is that calculations that result in a complex outcome return, whenever possible, the real component of that complex number instead of NaN/something incorrect.

@Patashu Patashu added the is this optimal? possible performance improvements label Mar 15, 2019
@Patashu
Copy link
Owner Author

Patashu commented Nov 22, 2021

tetrate edge case handling is a LOT better now. it's probably not 100% done but a lot less messy.

didn't poke at pow/root/log/slog, not sure if it matters or not.

@Patashu Patashu changed the title handle NaN/inf and negative numbers in pow/root/log/tetrate more explicitly? handle NaN/inf and negative numbers in pow/root/log/tetrate more explicitly? (partially done) Nov 22, 2021
@Patashu
Copy link
Owner Author

Patashu commented Nov 22, 2021

slog edge cases mostly done

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

No branches or pull requests

1 participant