NMSIS-DSP  Version 1.3.1
NMSIS DSP Software Library
Generic Types

Typedefs

typedef int8_t q7_t
 8-bit fractional data type in 1.7 format. More...
 
typedef int16_t q15_t
 16-bit fractional data type in 1.15 format. More...
 
typedef int32_t q31_t
 32-bit fractional data type in 1.31 format. More...
 
typedef int64_t q63_t
 64-bit fractional data type in 1.63 format. More...
 
typedef float float32_t
 32-bit floating-point type definition. More...
 
typedef double float64_t
 64-bit floating-point type definition. More...
 

Enumerations

enum  riscv_status {
  RISCV_MATH_SUCCESS = 0,
  RISCV_MATH_ARGUMENT_ERROR = -1,
  RISCV_MATH_LENGTH_ERROR = -2,
  RISCV_MATH_SIZE_MISMATCH = -3,
  RISCV_MATH_NANINF = -4,
  RISCV_MATH_SINGULAR = -5,
  RISCV_MATH_TEST_FAILURE = -6,
  RISCV_MATH_DECOMPOSITION_FAILURE = -7
}
 vector types More...
 

Detailed Description

Typedef Documentation

◆ float32_t

typedef float float32_t

32-bit floating-point type definition.

◆ float64_t

typedef double float64_t

64-bit floating-point type definition.

◆ q15_t

typedef int16_t q15_t

16-bit fractional data type in 1.15 format.

◆ q31_t

typedef int32_t q31_t

32-bit fractional data type in 1.31 format.

◆ q63_t

typedef int64_t q63_t

64-bit fractional data type in 1.63 format.

◆ q7_t

typedef int8_t q7_t

8-bit fractional data type in 1.7 format.

Enumeration Type Documentation

◆ riscv_status

vector types

Error status returned by some functions in the library.

Enumerator
RISCV_MATH_SUCCESS 

No error

RISCV_MATH_ARGUMENT_ERROR 

One or more arguments are incorrect

RISCV_MATH_LENGTH_ERROR 

Length of data buffer is incorrect

RISCV_MATH_SIZE_MISMATCH 

Size of matrices is not compatible with the operation

RISCV_MATH_NANINF 

Not-a-number (NaN) or infinity is generated

RISCV_MATH_SINGULAR 

Input matrix is singular and cannot be inverted

RISCV_MATH_TEST_FAILURE 

Test Failed

RISCV_MATH_DECOMPOSITION_FAILURE 

Decomposition Failed