LUMIERA.clone/tests/basics/time
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
..
digxel-configurations-test.cpp Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
digxel-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
format-support-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
quantiser-basics-test.cpp Timehandling: choose safer representation for fractional seconds (closes #939) 2020-02-17 03:13:36 +01:00
time-basics-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
time-control-test.cpp Library: clarify usage of the basic time scale 2018-12-10 00:12:52 +01:00
time-formats-test.cpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
time-mutation-test.cpp Library: clarify usage of the basic time scale 2018-12-10 00:12:52 +01:00
time-parsing-test.cpp Dependencies: get rid of boost-regexp (see #995) 2019-06-24 02:41:02 +02:00
time-quantisation-test.cpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
time-value-test.cpp Library: clarify usage of the basic time scale 2018-12-10 00:12:52 +01:00