Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1284

Lua Scripting • Re: Decimals

$
0
0
That's correct, however I was interested in knowing whether lua was using more than five decimals or not because I wasn't able to display more than 5 decimals so I could check if the values were correct. Values like time T (which is used almost on every formula) needs to have at least 9 decimals for the moon calculations, since it's on centuries and during 0.000000001 century the moon moves over an arc of 1.7 arcseconds. In the book he uses 12 decimals and I wanted to compare how close my results were to his.

The accuracy on this astronomical calcs is more about "significant digits" than the actual n. of decimals.
Oh, I see - all clear now. You wanted to see if your calculations correctly result in that rare 1.7 arcsecond movement. ;)

Statistics: Posted by Yincognito — 29 minutes ago



Viewing all articles
Browse latest Browse all 1284

Trending Articles