tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
typedefs.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
// SPDX-FileCopyrightText: Copyright (C) 2019 Tobias Hienzsch
3
4
#
ifndef
TETL_CMATH_TYPEDEFS_HPP
5
#
define
TETL_CMATH_TYPEDEFS_HPP
6
7
#
include
<
etl
/
_config
/
all
.
hpp
>
8
9
/// \ingroup cmath
10
/// @{
11
12
#
if
defined
(
TETL_COMPILER_MSVC
)
13
#
include
<
math
.
h
>
14
#
else
15
#
ifndef
NAN
16
#
define
NAN
TETL_BUILTIN_NAN
(
""
)
17
#
endif
18
19
#
ifndef
INFINITY
20
#
define
INFINITY
TETL_BUILTIN_HUGE_VALF
21
#
endif
22
23
#
ifndef
HUGE_VALF
24
#
define
HUGE_VALF
TETL_BUILTIN_HUGE_VALF
25
#
endif
26
27
#
ifndef
HUGE_VAL
28
#
define
HUGE_VAL
TETL_BUILTIN_HUGE_VAL
29
#
endif
30
31
#
ifndef
HUGE_VALL
32
#
define
HUGE_VALL
TETL_BUILTIN_HUGE_VALL
33
#
endif
34
#
endif
35
36
/// @}
37
38
namespace
etl
{
39
40
/// Most efficient floating-point type at least as wide as float.
41
/// \ingroup cmath
42
using
float_t =
float
;
43
44
/// Most efficient floating-point type at least as wide as double.
45
/// \ingroup cmath
46
using
double_t =
double
;
47
48
}
// namespace etl
49
50
#
endif
// TETL_CMATH_TYPEDEFS_HPP
etl
Definition
adjacent_find.hpp:9
include
etl
_cmath
typedefs.hpp
Generated on Sat Sep 20 2025 23:50:47 for tetl by
1.9.8