You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did not realize that float had such horrible precision... Only 7 digits https://stackoverflow.com/a/3498243/4069571 chain.get_energy for example will therefore return extremely imprecise results.
This should be changed either in the APIs, or by adding API functions which return doubles.
The text was updated successfully, but these errors were encountered:
The only drawback of using the scalar alias would be that the web-UI that goes through the C API would have to be built with single precision, because the API needs to be single precision.
Currently, @MSallermann and I agree that that would be the better tradeoff vs both of
I did not realize that float had such horrible precision... Only 7 digits https://stackoverflow.com/a/3498243/4069571
chain.get_energy
for example will therefore return extremely imprecise results.This should be changed either in the APIs, or by adding API functions which return
double
s.The text was updated successfully, but these errors were encountered: