acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_nanosecond.h
1
//
2
// Created by camilo on 2021-10-05. <3ThomasBS_ [ THE ONE GOD ]
3
//
4
//
5
//
6
//class CLASS_DECL_ACME floating_nanosecond_t :
7
// public floating_nanosecond
8
//{
9
//public:
10
//
11
//
12
// using BASE_TYPE = floating_nanosecond;
13
//
14
//
15
// constexpr floating_nanosecond_t(floating_nanosecond nanosecond = {}) : floating_nanosecond(nanosecond) {}
16
//
17
//
18
// operator integral_second() const { return integral_second((::i64) (m_f64 / 1'000'000'000.0)); }
19
// operator integral_nanosecond() const { return integral_nanosecond((::i64)fmod(m_f64, 1'000'000'000.0)); }
20
//
21
// operator floating_second() const { return floating_second(m_f64 / 1'000'000'000.0); }
22
//
23
//
24
//
25
//};
26
//
27
//
28
//using floating_nanosecond = floating_time < floating_nanosecond_t >;
29
30
31
// inline floating_nanosecond get_floating_nanosecond() { return floating_nanosecond((::f64)get_integral_nanosecond().m_i); }
32
33
34
// template < >
35
// inline floating_nanosecond now<floating_nanosecond>()
36
// {
37
38
// return get_floating_nanosecond();
39
40
// }
41
42
43
prototype
time
floating
aaa_nanosecond.h
Generated by
1.17.0