Is there a way to coerce a rat into a realType (from the math-comp/analysis library)? For example, the notation for coercing a nat is %:R.
Asked
Active
Viewed 28 times
1 Answers
2
According to the documentation ratr
coerces a rat
to any unit ring (hence any realType
).

Pierre Roux
- 36
- 1