@@ -62,8 +62,8 @@ std::println("Solar luminosity: {} = {::N[.3e]}", solar_power, solar_power.in(W)
6262
6363// Solar nominal effective temperature: Tₑff,☉ᴺ = 5772 K
6464quantity_point sun_temp = point<T_EFF_SUN_N>(1.);
65- std::println("Solar temperature: {} = {::N[ .0f] }",
66- sun_temp.quantity_from_zero(),
65+ std::println("Solar temperature: {} = {::N[ .0f] }",
66+ sun_temp.quantity_from_zero(),
6767 sun_temp.quantity_from_zero().in(K));
6868
6969// Solar nominal gravitational parameter: (GM)☉ᴺ = 1.3271244 × 10²⁰ m³/s²
@@ -184,7 +184,7 @@ CODATA G:
184184quantity M_sun = 1 . * solar_mass;
185185std::println ("Solar mass: {::N[ .4e] }", M_sun.in(kg));
186186
187- // M⊕ = (GM)⊕ᴺ / G
187+ // M⊕ = (GM)⊕ᴺ / G
188188quantity M_earth = 1. * terrestrial_mass;
189189std::println("Earth mass: {::N[ .4e] }", M_earth.in(kg));
190190
@@ -298,18 +298,18 @@ Exoplanet mass: 0.13 M_⊕
298298
299299!!! tip "Astronomy Utilities"
300300
301- For commonly used astronomy units not standardized by the IAU (such as light-years,
301+ For commonly used astronomy units not standardized by the IAU (such as light-years,
302302 jansky, sidereal days, Julian years, etc.), see the `astronomy` utility system:
303-
303+
304304 ```cpp
305305 #include <mp-units/systems/astronomy.h>
306-
306+
307307 using namespace mp_units::astronomy::unit_symbols;
308-
308+
309309 quantity distance = 4.22 * ly; // light-year
310310 quantity flux = 1.5 * Jy; // jansky (radio astronomy)
311311 quantity period = 1. * D_sid; // sidereal day
312312 quantity age = 13.8e9 * a; // Julian year
313313 ```
314-
314+
315315 These units can be freely mixed with IAU and SI units.
0 commit comments