diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /extensions/ParserFunctions/exprTests.txt | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff) |
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook
* Use only css to hide our menu bar when printing
Diffstat (limited to 'extensions/ParserFunctions/exprTests.txt')
-rw-r--r-- | extensions/ParserFunctions/exprTests.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/extensions/ParserFunctions/exprTests.txt b/extensions/ParserFunctions/exprTests.txt new file mode 100644 index 00000000..d842d462 --- /dev/null +++ b/extensions/ParserFunctions/exprTests.txt @@ -0,0 +1,39 @@ +1 + 1 = 2 +-1 + 1 = 0 ++1 + 1 = 2 +4 * 4 = 16 +-4 * -4 = 4 * 4 +(1/3) * 3 = 1 +3 / 1.5 = 2 +3 mod 2 = 1 +1 or 0 +not (1 and 0) +not 0 +4.0 round 0; 4 +ceil 4; 4 +floor 4; 4 +4.5 round 0; 5 +4.2 round 0; 4 +-4.2 round 0; -4 +-4.5 round 0; -5 +-2.0 round 0; -2 +ceil -3; -3 +floor -6.0; -6 +ceil 4.2; 5 +ceil -4.5; -4 +floor -4.5; -5 +4 < 5 +-5 < 2 +-2 <= -2 +abs(-2); 2 +4 > 3 +4 > -3 +5 >= 2 +2 >= 2 +1 != 2 +not (1 != 1) +1e4 = 10000 +1e-2 = 0.01 +ln(exp(1));1 +trunc(4.5);4 +trunc(-4.5);-4 |