File tree 4 files changed +12
-11
lines changed 4 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 1
1
// /////////////////////////////////////////////////////////////////////////////
2
- // Copyright Christopher Kormanyos 2007 - 2018 .
2
+ // Copyright Christopher Kormanyos 2007 - 2025 .
3
3
// Distributed under the Boost Software License,
4
4
// Version 1.0. (See accompanying file LICENSE_1_0.txt
5
5
// or copy at http://www.boost.org/LICENSE_1_0.txt)
6
6
//
7
7
8
- #ifndef FIXED_POINT_2011_02_22_H_
9
- #define FIXED_POINT_2011_02_22_H_
8
+ #ifndef FIXED_POINT_2011_02_22_H
9
+ #define FIXED_POINT_2011_02_22_H
10
10
11
11
#define FIXED_POINT_DISABLE_IOSTREAM
12
12
13
+ #include < util/utility/util_nothing.h>
14
+ #include < util/utility/util_utype_helper.h>
15
+
16
+ #include < cmath>
13
17
#include < cstddef>
14
18
#include < cstdint>
15
19
#include < limits>
19
23
#include < ostream>
20
24
#endif
21
25
22
- #include < util/utility/util_nothing.h>
23
- #include < util/utility/util_utype_helper.h>
24
-
25
26
// Utility structure to help with the epsilon limits for fixed_point.
26
27
// These special numbers represent the smallest value for a decimal part
27
28
// that differs from 1 for the corresponding decimal-part width.
972
973
return sqrt <fixed_point_type>((x * x) + (y * y));
973
974
}
974
975
975
- #endif // FIXED_POINT_2011_02_22_H_
976
+ #endif // FIXED_POINT_2011_02_22_H
Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright Christopher Kormanyos 2007 - 2024 .
2
+ # Copyright Christopher Kormanyos 2007 - 2025 .
3
3
# Distributed under the Boost Software License,
4
4
# Version 1.0. (See accompanying file LICENSE_1_0.txt
5
5
# or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -25,7 +25,7 @@ TGT_ALLFLAGS = -Os
25
25
26
26
ifeq ($(TYP_OS),WIN)
27
27
TGT_ALLFLAGS := $(TGT_ALLFLAGS) \
28
- -mdouble=32 \
28
+ -mdouble=64 \
29
29
-mlong-double=64
30
30
endif
31
31
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ TGT_ALLFLAGS = -O2
26
26
27
27
ifeq ($(TYP_OS),WIN)
28
28
TGT_ALLFLAGS := $(TGT_ALLFLAGS) \
29
- -mdouble=32 \
29
+ -mdouble=64 \
30
30
-mlong-double=64
31
31
endif
32
32
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ TGT_ALLFLAGS = -O2
25
25
26
26
ifeq ($(TYP_OS),WIN)
27
27
TGT_ALLFLAGS := $(TGT_ALLFLAGS) \
28
- -mdouble=32 \
28
+ -mdouble=64 \
29
29
-mlong-double=64
30
30
endif
31
31
You can’t perform that action at this time.
0 commit comments