What is different about C++ math.h abs() compared to my abs()

后端 未结 8 675
伪装坚强ぢ
伪装坚强ぢ 2021-02-07 07:44

I am currently writing some glsl like vector math classes in C++, and I just implemented an abs() function like this:

template
static         


        
8条回答
提交回复
热议问题