Difference between revisions of "Talk:Math Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>PROXiCiDE
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Math Utilities==
==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 [[User:PROXiCiDE/MathUtil | Math Utilities]] --[[User:PROXiCiDE|PROXiCiDE]] ([[User talk:PROXiCiDE|talk]])
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 [[User:PROXiCiDE/MathUtil | Math Utilities]] --[[User:PROXiCiDE|PROXiCiDE]] ([[User talk: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. --[[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.