Difference between revisions of "Talk:Math Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rasikko
m (Pi?)
Line 4: Line 4:
== Pi ==
== Pi ==
355/113 for pi is best used for papyrus I think. Precision in papyrus is accurate up to 6 decimal places, and 355/113 is accurate for pi up to 7 decimal places. --[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2018-01-23T14:02:47 (EST)
355/113 for pi is best used for papyrus I think. Precision in papyrus is accurate up to 6 decimal places, and 355/113 is accurate for pi up to 7 decimal places. --[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2018-01-23T14:02:47 (EST)
== Log ==
Despite its name, Math.log returns natural logarithm of its argument, and not the regular one.

Revision as of 14:49, 13 July 2023

Math Utilities

If your looking for Math and Bit Manipulation functions such as Min/Max/Clamp/InRange/etc and Bit Set/Clear/Xor/etc you can find them here Math Utilities --PROXiCiDE (talk)

Pi

355/113 for pi is best used for papyrus I think. Precision in papyrus is accurate up to 6 decimal places, and 355/113 is accurate for pi up to 7 decimal places. --Rasikko (talk) 2018-01-23T14:02:47 (EST)

Log

Despite its name, Math.log returns natural logarithm of its argument, and not the regular one.