# PowerFunction **Repository Path**: AliceSisMathElf/PowerFunction ## Basic Information - **Project Name**: PowerFunction - **Description**: 一个自定义的C++pow函数 A customized power function for C++ - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-01-10 - **Last Updated**: 2022-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: 幂函数, power, pow, 数学 ## README # PowerFunction # power函數 A customized power function for C++. 自定義power C++函數。 In this repository, the customized power function solve the problem that the C++ lib function std::pow(__X, __Y) could not calculate the equation as (-0.216)^(1.0/3). 在這個庫中,自定義power函數解決了C++庫函數std::pow(__X, __Y)不能計算等式如(-0.216)^(1.0/3)的問題。 powfunc.hpp The mathematical function such as trigonometic function(sin(x), cos(x)), logarithm function(ln(x)) and exponent(exp(x)) is implemented by Taylor Series Expansion. 數學函數如三角函數(sin(x), cos(x)),對數函數(ln(x))以及指數函數(exp(x))用泰勒級數展開實現。 powfunclib.hpp The power function is implemented by C++ lib funcion. power函數使用C++庫函數實現。 More detail is in PDF file. 更多請見PDF文件。