File:  [parser3project] / parser3 / tests / 325.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Nov 16 23:22:00 2015 UTC (10 years, 7 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, release_3_4_4, HEAD
double range test added (related to bug #1049)

$s[NaN]
NaN:^try-catch{^s.double[]}
NaN:^try-catch{^s.double(0)}
$s[INFINITY]
Inf:^try-catch{^s.double[]}
Inf:^try-catch{^s.double(0)}

SQRT(-1):^try-catch{^math:sqrt(-1)}
POW(0;-1):^try-catch{^math:pow(0;-1)}

$x[^xdoc::create{<?xml version="1.0"?><x n=""/>}]
^try-catch{^x.selectNumber[number(/x/@n)]}

E-mail: