|
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) |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fn-floor | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 88/88 | 3/15 |
fn-floorint1args-1[+]
X fn-floorint1args-1: fn:floor(xs:int("-2147483648")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorint1args-2[+]
X fn-floorint1args-2: fn:floor(xs:int("-1873914410")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorint1args-3[+]
X fn-floorint1args-3: fn:floor(xs:int("2147483647")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorintg1args-1[+]
X fn-floorintg1args-1: fn:floor(xs:integer("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorintg1args-2[+]
X fn-floorintg1args-2: fn:floor(xs:integer("830993497117024304")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorintg1args-3[+]
X fn-floorintg1args-3: fn:floor(xs:integer("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floordec1args-1[+]
X fn-floordec1args-1: fn:floor(xs:decimal("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floordec1args-2[+]
X fn-floordec1args-2: fn:floor(xs:decimal("617375191608514839")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floordec1args-3[+]
X fn-floordec1args-3: fn:floor(xs:decimal("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floordbl1args-1[+]
X fn-floordbl1args-1: fn:floor(xs:double("-1.7976931348623157E308")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floordbl1args-2[+]
X fn-floordbl1args-2: fn:floor(xs:double("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floordbl1args-3[+]
X fn-floordbl1args-3: fn:floor(xs:double("1.7976931348623157E308")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorflt1args-1[+]
X fn-floorflt1args-1: fn:floor(xs:float("-3.4028235E38")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorflt1args-2[+]
X fn-floorflt1args-2: fn:floor(xs:float("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorflt1args-3[+]
X fn-floorflt1args-3: fn:floor(xs:float("3.4028235E38")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorlng1args-1[+]
X fn-floorlng1args-1: fn:floor(xs:long("-92233720368547758")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorlng1args-2[+]
X fn-floorlng1args-2: fn:floor(xs:long("-47175562203048468")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorlng1args-3[+]
X fn-floorlng1args-3: fn:floor(xs:long("92233720368547758")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorusht1args-1[+]
X fn-floorusht1args-1: fn:floor(xs:unsignedShort("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorusht1args-2[+]
X fn-floorusht1args-2: fn:floor(xs:unsignedShort("44633")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorusht1args-3[+]
X fn-floorusht1args-3: fn:floor(xs:unsignedShort("65535")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floornint1args-1[+]
X fn-floornint1args-1: fn:floor(xs:negativeInteger("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floornint1args-2[+]
X fn-floornint1args-2: fn:floor(xs:negativeInteger("-297014075999096793")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floornint1args-3[+]
X fn-floornint1args-3: fn:floor(xs:negativeInteger("-1")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorpint1args-1[+]
X fn-floorpint1args-1: fn:floor(xs:positiveInteger("1")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorpint1args-2[+]
X fn-floorpint1args-2: fn:floor(xs:positiveInteger("52704602390610033")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorpint1args-3[+]
X fn-floorpint1args-3: fn:floor(xs:positiveInteger("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorulng1args-1[+]
X fn-floorulng1args-1: fn:floor(xs:unsignedLong("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorulng1args-2[+]
X fn-floorulng1args-2: fn:floor(xs:unsignedLong("130747108607674654")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorulng1args-3[+]
X fn-floorulng1args-3: fn:floor(xs:unsignedLong("184467440737095516")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floornpi1args-1[+]
X fn-floornpi1args-1: fn:floor(xs:nonPositiveInteger("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floornpi1args-2[+]
X fn-floornpi1args-2: fn:floor(xs:nonPositiveInteger("-475688437271870490")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floornpi1args-3[+]
X fn-floornpi1args-3: fn:floor(xs:nonPositiveInteger("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floornni1args-1[+]
X fn-floornni1args-1: fn:floor(xs:nonNegativeInteger("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floornni1args-2[+]
X fn-floornni1args-2: fn:floor(xs:nonNegativeInteger("303884545991464527")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floornni1args-3[+]
X fn-floornni1args-3: fn:floor(xs:nonNegativeInteger("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorsht1args-1[+]
X fn-floorsht1args-1: fn:floor(xs:short("-32768")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorsht1args-2[+]
X fn-floorsht1args-2: fn:floor(xs:short("-5324")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floorsht1args-3[+]
X fn-floorsht1args-3: fn:floor(xs:short("32767")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-FloorFunc-1[+]
X K-FloorFunc-1: floor() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-FloorFunc-2[+]
X K-FloorFunc-2: floor(1, 2) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-FloorFunc-3[+]
X K-FloorFunc-3: empty(floor(())) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-FloorFunc-4[+]
X K-FloorFunc-4: floor(10.5) eq 10 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-FloorFunc-5[+]
X K-FloorFunc-5: floor(-10.5) eq -11 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-FloorFunc-6[+]
X K-FloorFunc-6: floor("a string") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-1[+]
X K2-FloorFunc-1: floor(xs:unsignedShort(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-2[+]
X K2-FloorFunc-2: floor(xs:unsignedShort(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-3[+]
X K2-FloorFunc-3: floor(xs:unsignedLong(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-4[+]
X K2-FloorFunc-4: floor(xs:unsignedInt(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-5[+]
X K2-FloorFunc-5: floor(xs:unsignedByte(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-6[+]
X K2-FloorFunc-6: floor(xs:positiveInteger(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-7[+]
X K2-FloorFunc-7: floor(xs:nonPositiveInteger(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-8[+]
X K2-FloorFunc-8: floor(xs:nonNegativeInteger(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-9[+]
X K2-FloorFunc-9: floor(xs:negativeInteger(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-10[+]
X K2-FloorFunc-10: floor(xs:long(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-11[+]
X K2-FloorFunc-11: floor(xs:int(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-12[+]
X K2-FloorFunc-12: floor(xs:short(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-FloorFunc-13[+]
X K2-FloorFunc-13: floor(xs:byte(.)) instance of xs:integer |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-1[+]
X fn-floor-1: for $x in (1, xs:decimal(2), xs:float(3), xs:double(4)) return if ((floor($x)) instance of xs:integer) then "integer" else if ((floor($x)) instance of xs:decimal) then "decimal" else if ((floor($x)) instance of xs:float) then "float" else if ((floor($x)) instance of xs:double) then "double" else error() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-decimal-1[+]
X fn-floor-decimal-1: floor(12.5) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-decimal-2[+]
X fn-floor-decimal-2: floor(12.9) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-decimal-3[+]
X fn-floor-decimal-3: floor(0.000000001) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-decimal-4[+]
X fn-floor-decimal-4: floor(0.0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-decimal-5[+]
X fn-floor-decimal-5: floor(-0.1) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-decimal-6[+]
X fn-floor-decimal-6: floor(-12345678.567890) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-decimal-7[+]
X fn-floor-decimal-7: floor(-1234567891234567.2) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-1[+]
X fn-floor-double-1: floor(12.5e0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-2[+]
X fn-floor-double-2: floor(12.9e0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-3[+]
X fn-floor-double-3: floor(0.000000001e0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-4[+]
X fn-floor-double-4: floor(0.0e0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-5[+]
X fn-floor-double-5: floor(-0.1e0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-6[+]
X fn-floor-double-6: floor(-12345678.567890e0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-7[+]
X fn-floor-double-7: floor(-1234567891234567.2e0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-8[+]
X fn-floor-double-8: floor(xs:double('NaN')) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-9[+]
X fn-floor-double-9: floor(xs:double('INF')) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-10[+]
X fn-floor-double-10: floor(xs:double('-INF')) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-double-11[+]
X fn-floor-double-11: floor(xs:double('-0')) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-1[+]
X fn-floor-float-1: floor(xs:float(12.5e0)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-2[+]
X fn-floor-float-2: floor(xs:float(12.9e0)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-3[+]
X fn-floor-float-3: floor(xs:float(0.000000001e0)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-4[+]
X fn-floor-float-4: floor(xs:float(0.0e0)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-5[+]
X fn-floor-float-5: floor(xs:float(-0.1e0)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-6[+]
X fn-floor-float-6: floor(xs:float(-12345678.567890e0)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-7[+]
X fn-floor-float-7: floor(xs:float(-1234567.2e0)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-8[+]
X fn-floor-float-8: floor(xs:float(xs:float('NaN'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-9[+]
X fn-floor-float-9: floor(xs:float(xs:float('INF'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-10[+]
X fn-floor-float-10: floor(xs:float(xs:float('-INF'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-floor-float-11[+]
X fn-floor-float-11: floor(xs:float(xs:float('-0'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass |