For the program I am making, I need the to power of symbol, but when I try to use the general symbol (^), it doesn't recognize that?
Could anyone tell me what symbol to use instead?
That symbol is used to declare block. For more information read here Blocks Programming Topics. Some more info: Block objects are a C-level syntactic and runtime feature.
C pow() The pow() function computes the power of a number. The pow() function takes two arguments (base value and power value) and, returns the power raised to the base number. For example, [Mathematics] xy = pow(x, y) [In programming] The pow() function is defined in math.
there is no pow symbol. use the C function pow(x,y);
double res = pow(5.0,2.0); //25
BSD Library Functions Manual
NAME: pow -- power function
SYNOPSIS:
#include <math.h> double pow(double x, double y);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With