JDK-7190503 : More unsigned library operations
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2012-08-10
  • Updated: 2018-08-15
  • Resolved: 2018-08-15
Related Reports
Relates :  
As follow-up work to the previously added unsigned library support, other potentially useful operations include:

   * unsigned conversions to and from float/double
   * max/min

The earlier unsigned API includes static int compareUnsigned���(int x, int y) from which min/max could be constructed. For unsigned int values, converting the result of static long toUnsignedLong���(int x) to float/double would be equivalent to a direct unsigned conversion to float/double. Closing as will not fix; will consider reopening if presented with more evidence of the utility of the suggested methods.