LUMIERA.clone/tests/core/steam
Ichthyostega 38837da65e Timehandling: choose safer representation for fractional seconds (closes #939)
When drafting the time handling framework some years ago,
I foresaw the possible danger of mixing up numbers relating
to fractional seconds, with other plain numbers intended as
frame counts or as micro ticks. Thus I deliberately picked
an incompatible integer type for FSecs = boost::rational<long>

However, using long is problematic in itself, since its actual
bit length is not fixed, and especially on 32bit platforms long
is quite surprisingly defined to be the same as int.

However, meanwhile, using the new C++ features, I have blocked
pretty much any possible implicit conversion path, requiring
explicit conversions in the relevant ctor invocations. So,
after weighting in the alternatives, FSecs is now defined
as boost::rational<int64_t>.
2020-02-17 03:13:36 +01:00
..
asset Timehandling: choose safer representation for fractional seconds (closes #939) 2020-02-17 03:13:36 +01:00
control Functions-Commands: discard the ability to compare functors for equivalence (closes #294) 2019-06-23 19:45:30 +02:00
engine Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
mobject Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
play Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00