mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-20 09:04:44 +00:00
6e01fc8dce
Added new _STRCMP and _STRICMP commands for quick string comparisons. Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders. Altered UCASE and LCASE routines to be faster in some situations for us.
28 lines
750 B
C++
28 lines
750 B
C++
// ******************************************************************************************************
|
|
// ** Angle Conversion Formulas
|
|
// ******************************************************************************************************
|
|
|
|
double func_deg2rad (double value) {
|
|
return (value * 0.01745329251994329576923690768489);
|
|
}
|
|
|
|
double func_rad2deg (double value) {
|
|
return (value * 57.29577951308232);
|
|
}
|
|
|
|
double func_deg2grad (double value) {
|
|
return (value * 1.111111111111111);
|
|
}
|
|
|
|
double func_grad2deg (double value) {
|
|
return (value * 0.9);
|
|
}
|
|
|
|
double func_rad2grad (double value) {
|
|
return (value * 63.66197723675816);
|
|
}
|
|
|
|
double func_grad2rad (double value) {
|
|
return (value * .01570796326794896);
|
|
}
|
|
|