gpt4 book ai didi

c++ - std::remquo 目的和用法?

转载 作者:太空狗 更新时间:2023-10-29 19:42:09 27 4
gpt4 key购买 nike

std::remquo 函数的目的是什么?什么时候使用它而不是常规 std::remainder 函数的示例是什么?

最佳答案

remquo 在出现在 C++ 之前首先出现在 C99 中,以下是 C99 的基本原理:

The remquo functions are intended for implementing argument reductions which can exploit a few low-order bits of the quotient. Note that x may be so large in magnitude relative to y that an exact representation of the quotient is not practical.

关于c++ - std::remquo 目的和用法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11074865/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com