Class Add

java.lang.Object
javaforce.codec.gsm.Add

public class Add extends Object
  • Constructor Details

    • Add

      public Add()
  • Method Details

    • saturate

      public static short saturate(int x)
    • saturate

      public static short saturate(long x)
    • SASR

      public static short SASR(int x, int by)
    • GSM_ADD

      public static short GSM_ADD(short a, short b)
    • GSM_SUB

      public static short GSM_SUB(short a, short b)
    • GSM_MULT

      public static short GSM_MULT(short a, short b)
    • GSM_MULT_R

      public static short GSM_MULT_R(short a, short b)
    • GSM_ABS

      public static short GSM_ABS(short a)
    • GSM_L_MULT

      public static int GSM_L_MULT(short a, short b) throws IllegalArgumentException
      Throws:
      IllegalArgumentException
    • GSM_L_ADD

      public static int GSM_L_ADD(int a, int b)
    • gsm_norm

      public static short gsm_norm(int a) throws IllegalArgumentException
      Throws:
      IllegalArgumentException
    • gsm_asl

      public static short gsm_asl(short a, int n)
    • gsm_asr

      public static short gsm_asr(short a, int n)
    • gsm_div

      public static short gsm_div(short num, short denum) throws IllegalArgumentException
      Throws:
      IllegalArgumentException