我正在上C++课,我注意到只有几个数学运算符可供使用.我还注意到C++在其数学库中没有指数运算符.
为什么必须总是为此写一个函数?C++的制造商是否有理由省略此运算符?
c++ exponential
c++ ×1
exponential ×1