- float : Type
- val : float
- lt : float → float → Prop
- le : float → float → Prop
- decLt : DecidableRel lt
- decLe : DecidableRel le
Equations
- instInhabitedFloat = { default := { val := floatSpec.val } }
Equations
- floatDecLt a b = Float.decLt a b
Equations
- floatDecLe a b = Float.decLe a b
Equations
- instToStringFloat = { toString := Float.toString }
Equations
- instReprFloat = { reprPrec := fun n x => Std.Format.text (Float.toString n) }
@[extern lean_float_scaleb]
Efficiently computes x*2^i
.