Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-235

Incorrect parsing of hex values as float/double

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 2.5.0
    • Fix Version/s: 3.0.0
    • Component/s: CodePad

      Description

      Hex values that end in F, E, or D (such as 0x54FF or 0xC0FFEE) are incorrectly interpreted by Code Pad as float/double values. This behavior is not present in Version 2.

      Example:
      0xC0FFEE -> 1.264843E7 (double)

      However, this behavior doesn't seem to exist outside of Code Pad, and it doesn't appear to affect situations like this:

      int x = 0xC0FFEE; x -> 12648430 (int)

        Attachments

          Activity

            People

            • Assignee:
              davmac Davin McCall
              Reporter:
              external External via trac
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: