Class LL


  • public class LL
    extends Object
    The methods of this class will be translated by inserting machine code instructions directly in the code without a method call. They offer maximum efficiency by using special optimization.
    • Constructor Detail

      • LL

        public LL()
    • Method Detail

      • doubleToBits

        public static long doubleToBits​(double d)
        Get bits of floating point value (64bit)
        Parameters:
        d - Double value.
        Returns:
        Bit pattern.
      • bitsToDouble

        public static double bitsToDouble​(long val)
        Set double value directly from bits (64bit)
        Parameters:
        val - Bit pattern.
        Returns:
        Double value.
      • floatToBits

        public static int floatToBits​(float f)
        Get bits of floating point value (32bit)
        Parameters:
        f - Double value.
        Returns:
        Bit pattern.
      • bitsToFloat

        public static float bitsToFloat​(int val)
        Set float value directly from bits (32bit)
        Parameters:
        val - Bit pattern.
        Returns:
        Float value.