dvr
dvr

Reputation: 370

Coerce rat to realType im math-comp/analysis

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

Answers (1)

Pierre Roux
Pierre Roux

Reputation: 36

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

Upvotes: 2

Related Questions