Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8283892

Compress and expand bits

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 19
    • core-libs
    • None
    • b19

    Description

      Add compress and expand bits methods to Integer and Long.

      For details see Hacker's Delight section 7-4 Compress, or Generalized Extract.

      The implementations will utilize the parallel suffix method. The methods will be made intrinsic in dependent issues.

      Attachments

        Issue Links

          Activity

            People

              psandoz Paul Sandoz
              psandoz Paul Sandoz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: