File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,17 @@ using namespace mp_units::si::unit_symbols;
3232using mp_units::astronomy::unit_symbols::a;
3333
3434// time units
35- static_assert (1 . * D == 86'400 . * s);
36- static_assert (approx_equal( 1 . * D_sid, 86'164.0905 * s));
37- static_assert (approx_equal( 1 . * a, 365.25 * D));
38- static_assert (approx_equal( 1 . * a, 31'557'600 . * s));
35+ static_assert (1 * D == 86'400 * s);
36+ static_assert (10'000 * D_sid, 861'640'905 * s));
37+ static_assert (100 * a, 36525 * D));
38+ static_assert (1 * a, 31'557'600 * s));
3939static_assert (approx_equal(1 . * a_trop, 365.242189 * D));
40- static_assert (1 . * c == 100 . * a);
41- static_assert (1 . * ka == 1000 . * a);
40+ static_assert (1 * c == 100 * a);
41+ static_assert (1 * ka == 1000 * a);
4242
4343// length units
44- static_assert (1 . * LD == 384'399 . * km);
45- static_assert (1 . * ly == 9'460'730'472'580'800 . * m);
44+ static_assert (1 * LD == 384'399 * km);
45+ static_assert (1 * ly == 9'460'730'472'580'800 * m);
4646
4747// spectral flux density
4848static_assert (approx_equal(1 . * Jy, 1e-26 * W / m2 / Hz));
You can’t perform that action at this time.
0 commit comments