acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_operator.h
1
// Created by camilo on 2023-01-06 23:28 <3ThomasBorregaardSorensen!!
2
#pragma once
3
4
5
#include "acme/prototype/time/time/time.h"
6
7
8
9
//template < prototype_floating FLOATING >
10
//constexpr class time operator * (const ::floating_millisecond & millisecond, INTEGRAL integral)
11
//{
12
//
13
// return {
14
// (millisecond.m_i * integral) / 1'000ull,
15
// ((millisecond.m_i * integral) % 1'000) * 1'000'000
16
// };
17
//
18
//}
19
20
//
21
//
22
//template < prototype_floating FLOATING >
23
//constexpr class time operator / (const ::floating_second & second, FLOATING floating)
24
//{
25
//
26
// return {
27
// (::i64) (second.m_f64 / floating),
28
// (::i64) (fmod(second.m_f64 / floating, 1.0) * 1'000'000'000.0)
29
// };
30
//
31
//}
prototype
time
floating
aaa_operator.h
Generated by
1.17.0