LibJuno 1.0.4
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
juno_math_constants.h
Go to the documentation of this file.
1/*
2 MIT License
3
4 Copyright (c) 2025 Robin A. Onsay
5
6 Permission is hereby granted, free of charge, to any person obtaining
7 a copy of this software and associated documentation files
8 (the "Software"), to deal in the Software without restriction,
9 including without limitation the rights to use, copy, modify, merge,
10 publish, distribute, sublicense, and/or sell copies of the Software,
11 and to permit persons to whom the Software is furnished to do so,
12 subject to the following conditions:
13
14 The above copyright notice and this permission notice shall be
15 included in all copies or substantial portions of the Software.
16*/
17
26#ifndef JUNO_CONST_H
27#define JUNO_CONST_H
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33// @{"req": ["REQ-MATH-001"]}
39#define JUNO_PI 3.141592653589793
40
46#define JUNO_HALF_PI 1.5707963267948966
47
53#define JUNO_QUART_PI 0.7853981633974483
54
60#define JUNO_E 2.718281828459045
61
67#define ANG_EPSILON 1.0E-12
68
69#ifdef __cplusplus
70}
71#endif
72#endif