LUMIERA.clone/tests/core
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
..
application Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
steam Timehandling: choose safer representation for fractional seconds (closes #939) 2020-02-17 03:13:36 +01:00
vault Library: settle long standing confusion regarding time border conditions 2018-12-10 00:12:43 +01:00
DIR_INFO re-arrange tests according to layer structure 2013-01-07 05:43:01 +01:00