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
#
if
defined
(
TETL_COMPILER_MSVC
)
10
#
include
<
math
.
h
>
11
#
else
12
#
ifndef
NAN
13
#
define
NAN
TETL_BUILTIN_NAN
(
""
)
14
#
endif
15
16
#
ifndef
INFINITY
17
#
define
INFINITY
TETL_BUILTIN_HUGE_VALF
18
#
endif
19
20
#
ifndef
HUGE_VALF
21
#
define
HUGE_VALF
TETL_BUILTIN_HUGE_VALF
22
#
endif
23
24
#
ifndef
HUGE_VAL
25
#
define
HUGE_VAL
TETL_BUILTIN_HUGE_VAL
26
#
endif
27
28
#
ifndef
HUGE_VALL
29
#
define
HUGE_VALL
TETL_BUILTIN_HUGE_VALL
30
#
endif
31
#
endif
32
33
namespace
etl
{
34
35
/// Most efficient floating-point type at least as wide as float.
36
/// \ingroup cmath
37
using
float_t =
float
;
38
39
/// Most efficient floating-point type at least as wide as double.
40
/// \ingroup cmath
41
using
double_t =
double
;
42
43
}
// namespace etl
44
45
#
endif
// TETL_CMATH_TYPEDEFS_HPP
etl
Definition
adjacent_find.hpp:9
include
etl
_cmath
typedefs.hpp
Generated on Sun Sep 7 2025 19:15:07 for tetl by
1.9.8