C++ Logo


Advanced search

Re: [std-proposals] Standardize boost::rational

From: blacktea hamburger <greenteahamburger_at_[hidden]>
Date: Sat, 29 Oct 2022 15:49:59 +0800
It requires some other math functions, abs alone is not enough. However,
exactly which functions to add is up for discussion, as some functions are
useless to ensure precision, and rational is used for that.

And it should also be constructable from std::ratio.

On Sunday, October 16, 2022, blacktea hamburger <greenteahamburger_at_[hidden]>
> boost::ratio is standardized, but it's compile-time. So boost::rational
should be also standardized because it should be more commonly used.

Received on 2022-10-29 07:50:01