macro_rules! sec {
($x:expr) => { ... };
}Expand description
Converts whole seconds (i128) to total attoseconds (i128).
Sugar for Dt::sec_to_attos. Does not build a
Dt — only multiplies the unit count by the attoseconds-per-unit
constant (saturating).
§Example
use deep_time::{Dt, sec};
assert_eq!(sec!(1), Dt::sec_to_attos(1));