UIO Extra XML Operators
From GECK
The following table lists new, extra XML operator types, introduced by the User Interface Organizer (UIO) v2.20 plugin for Fallout: New Vegas:
XML Tag | Description | Operation |
---|---|---|
<sqrt> p </sqrt> | Compute square root | x := √p |
<pow> p </pow> | Raise to power exponent | x := xᵖ |
<sin> p </sin> | Compute sine (of degrees) | x := sin(p) |
<cos> p </cos> | Compute cosine (of degrees) | x := cos(p) |
<tan> p </tan> | Compute tangent (of degrees) | x := tan(p) |
<asin> p </asin> | Compute arcsine (in degrees) | x := asin(p) |
<acos> p </acos> | Compute arccosine (in degrees) | x := acos(p) |
<atan> p </atan> | Compute arctangent (in degrees) | x := atan(p) |
<log> p </log> | Compute the natural logarithm (base-e) | x := logℯ(p) |
<land> p </land> | Bitwise logical AND | x := x & p |
<lor> p </lor> | Bitwise logical OR | x := x | p |
<shl> p </shl> | Bitwise shift left | x := x << p |
<shr> p </shr> | Bitwise shift right (arithmetic) | x := x >> p |
<bt> p </bt> | Bit test | x := x & (1 << p) ? 1 : 0 |
<recipr> p </recipr> | Compute reciprocal | x := 1 / p |
<neg> p </neg> | Negation | x := -p |
<rand> p </rand> | Generate a random int in the range 0≤x<p | x := rand(0, p) |