Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LeanPlot/ToFloat.lean
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ instance instToFloatInt : ToFloat Int where
instance [Coe α Float] : ToFloat α where
toFloat a := ↑a

/-! ### `Rat` instance
/-! ## `Rat` instance

Lean 4 ships with a rational number type `Rat` in `Init.Data.Rat`.
The conversion takes the numerator/denominator and performs a floating-point
Expand Down