gpt4 book ai didi

C++ TTmath : Power of?

转载 作者:行者123 更新时间:2023-11-28 05:49:37 27 4
gpt4 key购买 nike

如何在 C++ 中获得两个 ttmath::UInt 的强大功能?Math.pow 仅适用于整数,“^”运算符不是幂运算符。

有人知道吗?

最佳答案

ttmath::Uint 定义了一个方法 Pow,所以你可以直接说

a.Pow(b)

关于C++ TTmath : Power of?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35529029/

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