public class Add
extends java.lang.Object
Constructor and Description |
---|
Add() |
Modifier and Type | Method and Description |
---|---|
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) |
public static short saturate(int x)
public static short saturate(long x)
public static short SASR(int x, int by)
public static short GSM_ADD(short a, short b)
public static short GSM_SUB(short a, short b)
public static short GSM_MULT(short a, short b)
public static short GSM_MULT_R(short a, short b)
public static short GSM_ABS(short a)
public static int GSM_L_MULT(short a, short b) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static int GSM_L_ADD(int a, int b)
public static short gsm_norm(int a) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static short gsm_asl(short a, int n)
public static short gsm_asr(short a, int n)
public static short gsm_div(short num, short denum) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException