Coerce rat to realType im math-comp/analysis

34 views Asked by At

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.

1

There are 1 answers

0
Pierre Roux On BEST ANSWER

According to the documentation ratr coerces a rat to any unit ring (hence any realType).