Replies: 15 comments 1 reply
-
**&**字符不太容易看清,建议换一个字体 |
Beta Was this translation helpful? Give feedback.
-
@xxxxx-qin 我们现在是 Fira momo,我挺想换成 Fira Code 的(但他的 |
Beta Was this translation helpful? Give feedback.
-
consolas也还好吧 |
Beta Was this translation helpful? Give feedback.
-
三维坐标这里多一维是齐次坐标中的w 求perspective projection矩阵的时候需要用来做除法得到视口裁切后的向量 然后如果一系列shift rotate scale操作顺序一般是模型矩阵左乘scale再左乘rotate再左乘shift效率最高 V_clip = M_shift * M_rotate * M_scale * V_model |
Beta Was this translation helpful? Give feedback.
-
带取模的快速幂如果算1^0 mod 1的话算出来是1,正确应该是0。 |
Beta Was this translation helpful? Give feedback.
-
res 是哪个词的缩写? |
Beta Was this translation helpful? Give feedback.
-
个人感觉是 result |
Beta Was this translation helpful? Give feedback.
-
因为 sizeof(long double)=16,即 long double 的进度是 64 位有效数字。 感觉逻辑怪怪的。这个有效数字是十进制下的吗? |
Beta Was this translation helpful? Give feedback.
-
int p; |
Beta Was this translation helpful? Give feedback.
-
FFT & 快速幂。 |
Beta Was this translation helpful? Give feedback.
-
尾递归应该不会? |
Beta Was this translation helpful? Give feedback.
-
关系不大,递归有没有额外开销主要取决于能不能被优化掉,而尾递归是一种常见的可优化形式,但是不是所有的编译器都实现了完整的尾递归优化 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
是不是写错了,应该是“误差范围为 |
Beta Was this translation helpful? Give feedback.
-
https://oi-wiki.org/math/quick-pow/
Beta Was this translation helpful? Give feedback.
All reactions