Equations
- Time.instReprDiffTime = { reprPrec := Time.reprDiffTime✝ }
Equations
- Time.instBEqDiffTime = { beq := Time.beqDiffTime✝ }
Equations
- Time.DiffTime.fromSecNsec sign sec nsec = { val := Time.Fixed.toFixed sign sec (Time.Fixed.toDenominator nsec Time.Nano) }
Instances For
Equations
- Time.DiffTime.fromSec sec = { val := Time.Fixed.toFixed (Time.Fixed.toSign sec) sec.natAbs default }
Instances For
Equations
- dt.toSec = match dt.val.toParts.sign with | Time.Sign.Neg => -↑dt.val.toParts.numerator | Time.Sign.Nonneg => ↑dt.val.toParts.numerator
Instances For
Equations
- Time.DiffTime.instToString = { toString := fun (a : Time.DiffTime) => toString "" ++ toString a.val ++ toString "" }
Instances For
Instances For
Equations
- Time.DiffTime.instSub = { sub := Time.DiffTime.sub }
Equations
- Time.DiffTime.instAdd = { add := Time.DiffTime.add }