Generic Types

enum riscv_status

Values:

enumerator RISCV_MATH_SUCCESS
enumerator RISCV_MATH_ARGUMENT_ERROR
enumerator RISCV_MATH_LENGTH_ERROR
enumerator RISCV_MATH_SIZE_MISMATCH
enumerator RISCV_MATH_NANINF
enumerator RISCV_MATH_SINGULAR
enumerator RISCV_MATH_TEST_FAILURE
enumerator RISCV_MATH_DECOMPOSITION_FAILURE
typedef int8_t q7_t
typedef int16_t q15_t
typedef int32_t q31_t
typedef int64_t q63_t
typedef float float32_t
typedef double float64_t
group Generic Types

Typedefs

typedef int8_t q7_t

8-bit fractional data type in 1.7 format.

typedef int16_t q15_t

16-bit fractional data type in 1.15 format.

typedef int32_t q31_t

32-bit fractional data type in 1.31 format.

typedef int64_t q63_t

64-bit fractional data type in 1.63 format.

typedef float float32_t

32-bit floating-point type definition.

typedef double float64_t

64-bit floating-point type definition.

Enums

enum riscv_status

vector types

Error status returned by some functions in the library.

Values:

enumerator RISCV_MATH_SUCCESS

No error

enumerator RISCV_MATH_ARGUMENT_ERROR

One or more arguments are incorrect

enumerator RISCV_MATH_LENGTH_ERROR

Length of data buffer is incorrect

enumerator RISCV_MATH_SIZE_MISMATCH

Size of matrices is not compatible with the operation

enumerator RISCV_MATH_NANINF

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

enumerator RISCV_MATH_SINGULAR

Input matrix is singular and cannot be inverted

enumerator RISCV_MATH_TEST_FAILURE

Test Failed

enumerator RISCV_MATH_DECOMPOSITION_FAILURE

Decomposition Failed