Edit

kc3-lang/libxml2/test/XPath/expr/functions

Branch :

  • Show log

    Commit

  • Author : Nick Wellnhofer
    Date : 2023-01-18 15:15:41
    Hash : 608c65bb
    Message : xpath: number('-') should return NaN Fixes https://gitlab.gnome.org/GNOME/libxslt/-/issues/81

  • test/XPath/expr/functions
  • true()
    false()
    number("1.5")
    number('abc')
    -number('abc')
    number('-')
    floor(0.1)
    floor(-0.1)
    floor(-0)
    floor(0)
    floor(5.2)
    floor(-5.2)
    floor(100000000000000000000)
    floor(-100000000000000000000)
    floor(0 div 0)
    floor(1 div 0)
    floor(-1 div 0)
    ceiling(0.1)
    ceiling(-0.1)
    ceiling(-0)
    ceiling(0)
    ceiling(5.2)
    ceiling(-5.2)
    ceiling(100000000000000000000)
    ceiling(-100000000000000000000)
    ceiling(0 div 0)
    ceiling(1 div 0)
    ceiling(-1 div 0)
    round(0.1)
    round(5.2)
    round(5.5)
    round(5.6)
    round(-0.1)
    round(-5.2)
    round(-5.5)
    round(-5.6)
    round(0.5)
    round(-0.5)
    round(100000000000000000000)
    round(-100000000000000000000)
    round(0 div 0)
    round(1 div 0)
    round(-1 div 0)