...
Code Block | ||
---|---|---|
| ||
#define PI 3.14159
float degrees;
float radians;
/* // ... */
radians = degrees * PI / 180;
|
...
Code Block | ||
---|---|---|
| ||
float const pi = 3.14159;
float degrees;
float radians;
/* // ... */
radians = degrees * pi / 180;
|
...
...
Code Block | ||
---|---|---|
| ||
#define PI 3.14159
float degrees;
float radians;
/* // ... */
radians = degrees * PI / 180;
|
...
Code Block | ||
---|---|---|
| ||
float const pi = 3.14159;
float degrees;
float radians;
/* // ... */
radians = degrees * pi / 180;
|
...