org.tritonus.lowlevel.gsm
Class Add

java.lang.Object
  extended byorg.tritonus.lowlevel.gsm.Add

public class Add
extends Object


Constructor Summary
Add()
           
 
Method Summary
static short GSM_ABS(short a)
           
static short GSM_ADD(short a, short b)
           
static short gsm_asl(short a, int n)
           
static short gsm_asr(short a, int n)
           
static short gsm_div(short num, short denum)
           
static int GSM_L_ADD(int a, int b)
           
static int GSM_L_MULT(short a, short b)
           
static short GSM_MULT_R(short a, short b)
           
static short GSM_MULT(short a, short b)
           
static short gsm_norm(int a)
           
static short GSM_SUB(short a, short b)
           
static short SASR(int x, int by)
           
static short saturate(int x)
           
static short saturate(long x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Add

public Add()
Method Detail

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