Talk:Math Script

From the CreationKit Wiki
Jump to navigation Jump to search

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.