Reputation: 370
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.
Upvotes: 0
Views: 44
Reputation: 36
According to the documentation ratr
coerces a rat
to any unit ring (hence any realType
).
Upvotes: 2