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

Casting issue in approximatePI() #1

Open
MrFibunacci opened this issue Apr 9, 2018 · 3 comments
Open

Casting issue in approximatePI() #1

MrFibunacci opened this issue Apr 9, 2018 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@MrFibunacci
Copy link
Owner

I think that some data get lost by casting on of the values in approximatePI() to an float.

A way to solve this is by using some algorythm that can divide those huge numbers.
Or we use something like this.

@MrFibunacci MrFibunacci added the enhancement New feature or request label Apr 9, 2018
@MrFibunacci MrFibunacci self-assigned this Apr 9, 2018
@MrFibunacci
Copy link
Owner Author

MrFibunacci commented Apr 9, 2018

Or we use something like this.

That would have been an good example if that lib could divide. xD

@MrFibunacci
Copy link
Owner Author

nah that shit wont work because they dont return floating point numbers.

@MrFibunacci
Copy link
Owner Author

Using something else that schould work but doesnt realy yet.

Its returning 0 if you divide an smaller number by an bigger one.

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

No branches or pull requests

1 participant