mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-21 12:25:14 +00:00
commit
dbc5b69dc8
@ -85,7 +85,7 @@ int c = a + b;
|
|||||||
double tan(double theta) //tangent of theta
|
double tan(double theta) //tangent of theta
|
||||||
double toRadians(double degrees) // convert angle from degrees to radians
|
double toRadians(double degrees) // convert angle from degrees to radians
|
||||||
double toDegrees(double radians) // convert angle from radians to degrees
|
double toDegrees(double radians) // convert angle from radians to degrees
|
||||||
double exp(doube a) // exponential (e^a)
|
double exp(double a) // exponential (e^a)
|
||||||
double pow(double a, double p) //raise a to the bth power (a^b)
|
double pow(double a, double p) //raise a to the bth power (a^b)
|
||||||
double random() //random in [0,1)
|
double random() //random in [0,1)
|
||||||
double sqrt(double a) //square root of a
|
double sqrt(double a) //square root of a
|
||||||
|
Loading…
Reference in New Issue
Block a user