Difference between revisions of "Talk:Math Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rasikko
m (Pi?)
 
(One intermediate revision by the same user not shown)
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, [[Log_-_Math|Math.log]] returns natural logarithm of its argument, and not the regular one.

Latest revision as of 15:03, 13 July 2023

Math Utilities[edit source]

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[edit source]

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[edit source]

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