|
Implementations | ||||||||||||||||
Tests | BaseX 7.7 XQ30 |
EMC/xDB xDB_main_r2411365 XQ30 |
Saxon-EE 9.5.1.1 XP20 |
Saxon-EE 9.5.1.1 XQ10 |
Saxon-EE 9.5.1.1 XP30 |
Saxon-EE 9.5.1.1 XQ30 |
Saxon-EE 9.5.1.4 XQX30 (QT3 v1.1) |
XmlPrime 3.0.0.0 XP30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XP20 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX10 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ30 (QT3 vCVS) |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
op-numeric-unary-minus | 64/64 | 64/64 | 60/60 | 64/64 | 60/60 | 64/64 | 64/64 | 60/60 | 64/64 | 64/64 | 60/60 | 64/64 | 64/64 | 64/64 | 64/64 | 3/15 |
op-numeric-unary-minusint1args-1[+]
X op-numeric-unary-minusint1args-1: -(xs:int("-2147483647")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusint1args-2[+]
X op-numeric-unary-minusint1args-2: -(xs:int("-1873914410")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusint1args-3[+]
X op-numeric-unary-minusint1args-3: -(xs:int("2147483647")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusintg1args-1[+]
X op-numeric-unary-minusintg1args-1: -(xs:integer("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusintg1args-2[+]
X op-numeric-unary-minusintg1args-2: -(xs:integer("830993497117024304")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusintg1args-3[+]
X op-numeric-unary-minusintg1args-3: -(xs:integer("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusdec1args-1[+]
X op-numeric-unary-minusdec1args-1: -(xs:decimal("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusdec1args-2[+]
X op-numeric-unary-minusdec1args-2: -(xs:decimal("617375191608514839")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusdec1args-3[+]
X op-numeric-unary-minusdec1args-3: -(xs:decimal("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusdbl1args-1[+]
X op-numeric-unary-minusdbl1args-1: -(xs:double("-1.7976931348623157E308")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusdbl1args-2[+]
X op-numeric-unary-minusdbl1args-2: -(xs:double("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusdbl1args-3[+]
X op-numeric-unary-minusdbl1args-3: -(xs:double("1.7976931348623157E308")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusflt1args-1[+]
X op-numeric-unary-minusflt1args-1: -(xs:float("-3.4028235E38")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusflt1args-2[+]
X op-numeric-unary-minusflt1args-2: -(xs:float("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusflt1args-3[+]
X op-numeric-unary-minusflt1args-3: -(xs:float("3.4028235E38")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minuslng1args-1[+]
X op-numeric-unary-minuslng1args-1: -(xs:long("-92233720368547758")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minuslng1args-2[+]
X op-numeric-unary-minuslng1args-2: -(xs:long("-47175562203048468")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minuslng1args-3[+]
X op-numeric-unary-minuslng1args-3: -(xs:long("92233720368547758")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minususht1args-1[+]
X op-numeric-unary-minususht1args-1: -(xs:unsignedShort("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minususht1args-2[+]
X op-numeric-unary-minususht1args-2: -(xs:unsignedShort("44633")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minususht1args-3[+]
X op-numeric-unary-minususht1args-3: -(xs:unsignedShort("65535")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusnint1args-1[+]
X op-numeric-unary-minusnint1args-1: -(xs:negativeInteger("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusnint1args-2[+]
X op-numeric-unary-minusnint1args-2: -(xs:negativeInteger("-297014075999096793")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusnint1args-3[+]
X op-numeric-unary-minusnint1args-3: -(xs:negativeInteger("-1")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minuspint1args-1[+]
X op-numeric-unary-minuspint1args-1: -(xs:positiveInteger("1")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minuspint1args-2[+]
X op-numeric-unary-minuspint1args-2: -(xs:positiveInteger("52704602390610033")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minuspint1args-3[+]
X op-numeric-unary-minuspint1args-3: -(xs:positiveInteger("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusulng1args-1[+]
X op-numeric-unary-minusulng1args-1: -(xs:unsignedLong("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusulng1args-2[+]
X op-numeric-unary-minusulng1args-2: -(xs:unsignedLong("130747108607674654")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusulng1args-3[+]
X op-numeric-unary-minusulng1args-3: -(xs:unsignedLong("184467440737095516")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusnpi1args-1[+]
X op-numeric-unary-minusnpi1args-1: -(xs:nonPositiveInteger("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusnpi1args-2[+]
X op-numeric-unary-minusnpi1args-2: -(xs:nonPositiveInteger("-475688437271870490")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusnpi1args-3[+]
X op-numeric-unary-minusnpi1args-3: -(xs:nonPositiveInteger("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusnni1args-1[+]
X op-numeric-unary-minusnni1args-1: -(xs:nonNegativeInteger("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusnni1args-2[+]
X op-numeric-unary-minusnni1args-2: -(xs:nonNegativeInteger("303884545991464527")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minusnni1args-3[+]
X op-numeric-unary-minusnni1args-3: -(xs:nonNegativeInteger("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minussht1args-1[+]
X op-numeric-unary-minussht1args-1: -(xs:short("-32768")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minussht1args-2[+]
X op-numeric-unary-minussht1args-2: -(xs:short("-5324")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-minussht1args-3[+]
X op-numeric-unary-minussht1args-3: -(xs:short("32767")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-1[+]
X K-NumericUnaryMinus-1: -"a string" |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-2[+]
X K-NumericUnaryMinus-2: +(-3) eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-3[+]
X K-NumericUnaryMinus-3: (-3) eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-4[+]
X K-NumericUnaryMinus-4: (+3) ne -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-5[+]
X K-NumericUnaryMinus-5: -3 eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-6[+]
X K-NumericUnaryMinus-6: +(-3) eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-7[+]
X K-NumericUnaryMinus-7: -(+3) eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-8[+]
X K-NumericUnaryMinus-8: -(3) eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-9[+]
X K-NumericUnaryMinus-9: -(3) eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-10[+]
X K-NumericUnaryMinus-10: ---------3 eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-11[+]
X K-NumericUnaryMinus-11: +-+-+-+-+-+-+-+3 eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-12[+]
X K-NumericUnaryMinus-12: ----+-+-++-+-+-+-+++-+--+--3 eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryMinus-13[+]
X K-NumericUnaryMinus-13: ---3 eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NumericUnaryMinus-1[+]
X K2-NumericUnaryMinus-1: -xs:double(0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NumericUnaryMinus-2[+]
X K2-NumericUnaryMinus-2: -xs:float(0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NumericUnaryMinus-3[+]
X K2-NumericUnaryMinus-3: -xs:decimal(0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NumericUnaryMinus-4[+]
X K2-NumericUnaryMinus-4: -xs:integer(0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NumericUnaryMinus-5[+]
X K2-NumericUnaryMinus-5: -0.0 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NumericUnaryMinus-6[+]
X K2-NumericUnaryMinus-6: xs:float(-0.0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NumericUnaryMinus-7[+]
X K2-NumericUnaryMinus-7: xs:double(-0.0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NumericUnaryMinus-8[+]
X K2-NumericUnaryMinus-8: empty(document{()}/(-element())) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
K2-NumericUnaryMinus-9[+]
X K2-NumericUnaryMinus-9: empty(-()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NumericUnaryMinus-10[+]
X K2-NumericUnaryMinus-10: -((<n>1</n> | ())[1]) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
op-numeric-unary-minus-1[+]
X op-numeric-unary-minus-1: for $x in (1, xs:decimal(2), xs:float(3), xs:double(4), xs:untypedAtomic(5)) return typeswitch (-$x) case xs:integer return "integer" case xs:decimal return "decimal" case xs:float return "float" case xs:double return "double" default return error() |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
cbcl-numeric-unary-minus-001[+]
X cbcl-numeric-unary-minus-001: declare function local:value($number as xs:boolean) { if ($number) then 1 else xs:string('1') }; -(local:value(true())) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |