Pal, Peter's AutoIt Library Pal Wiki
Library for window, GUI, controls, string, math, data lists, dialogues
Brought to you by:
peverbeek
AutoIt file: Logics and Math.au3
| Function | Description |
|---|---|
| _InList | Tests if a value is equal to one of the given ones |
| _Between | Tests if a value is between minimum and maximum values, converting strings to numbers |
| _BitSet | Returns a number e.g. byte with a certain bit set or unset |
| _IsBit | Returns a bit in a number e.g. byte is set, short for BitAnd( 2^($iBit-1), $nNumber ) > 0 ? 1 : 0 |
| _BitTest | Tests if a bit in a number e.g. byte is set, short for BitAnd( Bit, Number) > 0 |
| _BitsToNumber | Returns a decimal or string number converted from a binary bit string |
| _NumberToBits | Returns a binary bit string converted from a decimal or string number |
| _Clamp | Returns clamped value between minimum and maximum values, converting strings to number |
| _Maximum | Returns maximum number, converting strings to number, array input possible |
| _Minimum | Returns minimum number, converting strings to number, array input possible |
| _Average | Returns the average of values, converting strings to number, array input possible |
| _Sign | Returns the sign as integer (-1, 0, 1), converting strings to number |
| _Decimals | Returns the decimal fraction of a number, converting strings to number |
| _Tween | Returns value according to given factor in given range, linear tween |
| _TweenFactor | Returns factor according to given value in given range, linear tween |
| _LogX | Returns logarithm base X of given value |
| _Log10 | Returns logarithm base 10 of given value |
| _Log2 | Returns logarithm base 2 of given value |
| _Pi | Returns pi, 3.1415926535897932384626433832795 |
| _2Pi | Returns 2*Pi, 6.2831853071795864769252867665590 |
| _e | Returns e, 2.71828182845904523536028747135266249 |