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

Higher precision #1

Open
Sternbach-Software opened this issue Dec 26, 2023 · 2 comments
Open

Higher precision #1

Sternbach-Software opened this issue Dec 26, 2023 · 2 comments

Comments

@Sternbach-Software
Copy link

Sternbach-Software commented Dec 26, 2023

Such a cool program! I am running an M3 Max 16 Core 128 GB RAM (2TB SSD), so it can handle arbitrary precision arithmetic very well. Is it possible to use one of the solutions here so that the zoom can be increased to more than 0.000005 and retain precision?

@0xAdriaTorralba
Copy link
Owner

Hey! Thank you for trying it out!

I assume that you are refering to GPU 2D visualisation. Last time I checked, I performed some (empirical) calculations and I found that I couldn't go further than this 0.000005 before the visualisation became a mess of pixels. I'm not very familiar with BigDecimal (or its equivalent to C#), but this was using an old late 2013 MacBook Pro and using an old version of .NET.

Also,

  • Do you have a source that states that the M3 Max (or maybe the whole Apple Silicon line-up) supports arbitrary precision arithmetic?
  • Implementing BigDecimal (or its equivalent to C#) might not be trivial, since I'm thinking that this might require a major update on both .NET and Unity version that (most probably) will break a lot of things.

@Sternbach-Software
Copy link
Author

@0xAdriaTorralba To my knowledge, there is no hardware that supports arbitrary precision arithmetic. It is almost always (if not always) done in software. Therefore, the question is moot.

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

2 participants