Exponential Operator in C++

后端 未结 5 770
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-06 09:46

I am taking a class in C++ and I noticed there are only a few math operators to use. I also noticed that C++ does not come with an exponential operator within its math libr

5条回答
  •  春和景丽
    2020-12-06 09:59

    Most C operations readily intended to mapped to a single processor instruction when C was invented. At the time, exponentiation was not a machine instruction, thus the library routine.

提交回复
热议问题