acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_time_operator.h
1
// Created by camilo on 2022-05-31 07:28 AM <3ThomasLikesNumber5 (really will he raise ca-square)
2
#pragma once
3
4
5
//inline bool operator <(const class time& time, const class time & time)
6
//{
7
//
8
// return time.m_f64 < floating_second(time).m_f64;
9
//
10
//}
11
//
12
//
13
//inline bool operator <=(const class time& time, const class time & time)
14
//{
15
//
16
// return time.m_f64 <= floating_second(time).m_f64;
17
//
18
//}
19
//
20
//
21
//inline bool operator >(const class time& time, const class time & time)
22
//{
23
//
24
// return time.m_f64 > floating_second(time).m_f64;
25
//
26
//}
27
//
28
//
29
//inline bool operator >=(const class time& time, const class time & time)
30
//{
31
//
32
// return time.m_f64 >= floating_second(time).m_f64;
33
//
34
//}
35
//
36
//
37
//inline bool operator ==(const class time& time, const class time & time)
38
//{
39
//
40
// return time.m_f64 == floating_second(time).m_f64;
41
//
42
//}
43
//
44
//
45
//inline bool operator !=(const class time& time, const class time & time)
46
//{
47
//
48
// return time.m_f64 != floating_second(time).m_f64;
49
//
50
//}
51
52
53
//template < typename TYPE >
54
//inline bool operator <(const class time & time, const floating_time < TYPE > & t)
55
//{
56
//
57
// return time.m_f64 < floating_second(t).m_f64;
58
//
59
//}
60
//
61
//
62
//template < typename TYPE >
63
//inline bool operator <=(const class time& time, const floating_time < TYPE >& t)
64
//{
65
//
66
// return time.m_f64 <= floating_second(t).m_f64;
67
//
68
//}
69
//
70
//
71
//template < typename TYPE >
72
//inline bool operator >(const class time& timetime, const floating_time < TYPE >& t)
73
//{
74
//
75
// return timetime.m_f64 > floating_second(t).m_f64;
76
//
77
//}
78
//
79
//
80
//template < typename TYPE >
81
//inline bool operator >=(const class time& timetime, const floating_time < TYPE >& t)
82
//{
83
//
84
// return timetime.m_f64 >= floating_second(t).m_f64;
85
//
86
//}
87
//
88
//
89
//template < typename TYPE >
90
//inline bool operator ==(const class time& timetime, const floating_time < TYPE >& t)
91
//{
92
//
93
// return timetime.m_f64 == floating_second(t).m_f64;
94
//
95
//}
96
//
97
//
98
//template < typename TYPE >
99
//inline bool operator !=(const class time& timetime, const floating_time < TYPE >& t)
100
//{
101
//
102
// return timetime.m_f64 != floating_second(t).m_f64;
103
//
104
//}
105
106
107
108
//inline bool operator < (const class ::time& timetime1, const class ::time& timetime2) { return timetime1.m_f64 < timetime2.m_f64; }
109
//inline bool operator <= (const class ::time& timetime1, const class ::time& timetime2) { return timetime1.m_f64 <= timetime2.m_f64; }
110
//inline bool operator > (const class ::time& timetime1, const class ::time& timetime2) { return timetime1.m_f64 > timetime2.m_f64; }
111
//inline bool operator >= (const class ::time& timetime1, const class ::time& timetime2) { return timetime1.m_f64 >= timetime2.m_f64; }
112
//inline bool operator == (const class ::time& timetime1, const class ::time& timetime2) { return timetime1.m_f64 == timetime2.m_f64; }
113
//inline bool operator != (const class ::time& timetime1, const class ::time& timetime2) { return timetime1.m_f64 != timetime2.m_f64; }
114
//
115
//inline class ::time operator + (const class ::time& timetime1, const class ::time& timetime2) { return timetime1.m_f64 + timetime2.m_f64; }
116
//inline class ::time operator - (const class ::time& timetime1, const class ::time& timetime2) { return timetime1.m_f64 - timetime2.m_f64; }
117
//
118
//
119
//template < prototype_number NUMBER >
120
//inline class time operator / (const class time& timetime, const NUMBER & number) { return (::f64) (timetime.m_f64 / number); }
121
//template < prototype_number NUMBER >
122
//inline class time operator * (const class time& timetime, const NUMBER & number) { return (::f64) (timetime.m_f64 * number); }
123
124
125
126
prototype
time
aaa_time_operator.h
Generated by
1.17.0