generated from lightAxis/cmake-cpp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
33 lines (29 loc) · 1.19 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
mainmenu "translotator"
choice
prompt "Default floating point precision"
default TRANSLOTATOR_DEFAULT_FLOATING_POINT_PRECISION_32
config TRANSLOTATOR_DEFAULT_FLOATING_POINT_PRECISION_32
bool "float(32)"
config TRANSLOTATOR_DEFAULT_FLOATING_POINT_PRECISION_64
bool "double(64)"
config TRANSLOTATOR_DEFAULT_FLOATING_POINT_PRECISION_128
bool "long double(128)"
endchoice
config TRANSLOTATOR_DEFAULT_FLOATING_POINT_PRECISION_32_EPSILON
int "Floating Point Epsilon Exponent (Single Precision)"
default 4
help
The default floating point precision epsilon for float(32).
The epsilon would be 1e-{n}.
config TRANSLOTATOR_DEFAULT_FLOATING_POINT_PRECISION_64_EPSILON
int "Floating Point Epsilon Exponent (Double Precision)"
default 10
help
The default floating point precision epsilon for double(64).
The epsilon would be 1e-{n}.
config TRANSLOTATOR_DEFAULT_FLOATING_POINT_PRECISION_128_EPSILON
int "Floating Point Epsilon Exponent (Long Double Precision)"
default 16
help
The default floating point precision epsilon for long double(128).
The epsilon would be 1e-{n}.