gpt4 book ai didi

c - 定点处理 : what is the difference between uint16_t and uint_fast16_t?

转载 作者:太空狗 更新时间:2023-10-29 16:35:38 28 4
gpt4 key购买 nike

我有一个 16 位定点处理器,我想用它做定点处理。我正在寻找用于无符号 16 位整数的正确数据类型。

我的问题是:uint16_tuint_fast16_t 有什么区别? (这些包含在 stdint.h 中。)uint_fast16_t 是否更好,因为它更快??

谢谢!!

最佳答案

uint16_t 是一个无符号的 16 位整数。 uint_fast16_t 是最快的可用无符号整数,至少有 16 位。

关于c - 定点处理 : what is the difference between uint16_t and uint_fast16_t?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4961763/

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