Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: 1.3
    • Labels:
      None

      Description

      'NaN' > 'NaN' is true, but should be FALSE

        Activity

        Hide
        Matt Benson added a comment -

        Whew! You are keeping me on my toes, certainly! Fixed part 2 in trunk.

        Show
        Matt Benson added a comment - Whew! You are keeping me on my toes, certainly! Fixed part 2 in trunk.
        Hide
        Sergey Vladimirov added a comment -

        assertXPathValue(context, "$nan = 1", Boolean.FALSE, Boolean.class);
        + assertXPathValue(context, "$nan != 1", Boolean.TRUE, Boolean.class);

        NaN != 1 => FALSE

        Show
        Sergey Vladimirov added a comment - assertXPathValue(context, "$nan = 1", Boolean.FALSE, Boolean.class); + assertXPathValue(context, "$nan != 1", Boolean.TRUE, Boolean.class); NaN != 1 => FALSE
        Hide
        Matt Benson added a comment -

        Whoops! Never screwed around with NaN before, apparently... Thanks for the catch, fixed in trunk.

        Show
        Matt Benson added a comment - Whoops! Never screwed around with NaN before, apparently... Thanks for the catch, fixed in trunk.

          People

          • Assignee:
            Unassigned
            Reporter:
            Sergey Vladimirov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development