 | hxt-7.5: A collection of tools for processing XML with Haskell. | Contents | Index |
|
| Text.XML.HXT.XPath.XPathArithmetic |
|
|
| Description |
| The module contains arithmetic calculations according the IEEE 754 standard
for plus, minus, unary minus, multiplication, modulo and division.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| xPathMulti :: Op -> XPathValue -> XPathFilter |
| Multiplication
|
|
| xPathMod :: Op -> XPathValue -> XPathFilter |
| Modulo
|
|
| xPathDiv :: Op -> XPathValue -> XPathFilter |
| Division: the divison-operator is not according the IEEE 754 standard,
it calculates the same as the % operator in Java and ECMAScript
|
|
| xPathAdd :: Op -> XPathValue -> XPathFilter |
Plus and minus
1.parameter op : plus or minus operation
|
|
| xPathUnary :: XPathFilter |
| Unary minus: the value NaN is not calculatable and returned unchanged,
all other values can be denied.
|
|
| Produced by Haddock version 2.1.0 |