LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
Math types
Collaboration diagram for Math types:

Macros

#define JUNO_INT_TYPE   int64_t
 Configurable integral base type for LibJuno math (default int64_t).
 
#define JUNO_FLOAT_TYPE   double
 Configurable floating-point base type for LibJuno math (default double).
 

Detailed Description

Defines 2D/3D/4D vector types in Cartesian and spherical/hyperspherical coordinates for double/float/int32 precisions, along with common matrix and quaternion types. For convenience, JUNO_MODULE_RESULT aliases are provided for frequently returned value types.

Macro Definition Documentation

◆ JUNO_FLOAT_TYPE

#define JUNO_FLOAT_TYPE   double

Configurable floating-point base type for LibJuno math (default double).

Define before including this header to override the default.

◆ JUNO_INT_TYPE

#define JUNO_INT_TYPE   int64_t

Configurable integral base type for LibJuno math (default int64_t).

Define before including this header to override the default.