On Mon, 26 May 2025 08:44:26 GMT, Johannes Bechberger <jbechber...@openjdk.org> wrote:
>> Could you give me a hand with the conversion? > > My code is the inversion of > > > template <typename TimeSource, const int unit> > inline double conversion(typename TimeSource::Type& value) { > return (double)value * ((double)unit / (double)TimeSource::frequency()); > } (value * (unit / frequency)) != (value / unit * frequency) ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2107424093