-
Notifications
You must be signed in to change notification settings - Fork 783
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
Please put an X between the brackets as you perform the following steps:
- Check that your issue is not already filed:
https://github.com/leanprover/lean4/issues - Reduce the issue to a minimal, self-contained, reproducible test case.
Avoid dependencies to Mathlib or Batteries. - Test your test case against the latest nightly release, for example on
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
Float32.ofInt returns a Float, not a Float32.
Context
Observe the types here: seanmcl@fcfb52b
Expected behavior: [Clear and concise description of what you expect to happen]
I'd get a Float32
Actual behavior: [Clear and concise description of what actually happens]
I get a Float(64)
Impact
I can't convert from Int.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working