The CUDA Math library is an industry proven, highly accurate collection of standard mathematical functions. All I can figure is that the instructions are for Linux, but I'm running Windows. I found a couple of instructions here on SO that tell me to copy certain files into the Dev-C folder, but I can't find the files specified. I've never had to install a library like this before, so I'm really lost.f.
- The C Standard Library
- C Standard Library Resources
Dev C Math Library Download
- C Programming Resources
- Selected Reading
Description
The C library function double pow(double x, double y) returns x raised to the power of y i.e. xy.
Declaration
Following is the declaration for pow() function.
Parameters
x − This is the floating point base value.
y − This is the floating point power value.
Return Value
This function returns the result of raising x to the power y.
C Math Library Functions
Example
The following example shows the usage of pow() function.
Let us compile and run the above program that will produce the following result −