mirror of
https://github.com/peter-tanner/Systems-programming-labs.git
synced 2024-11-30 10:50:19 +08:00
Whoops
This commit is contained in:
parent
9422f7d7b8
commit
28dd17cbcc
|
@ -15,7 +15,7 @@ double radians_to_degrees(double radians) {
|
||||||
|
|
||||||
bool valid_location(double latitude, double longitude) {
|
bool valid_location(double latitude, double longitude) {
|
||||||
return latitude > -90 && latitude <= 90
|
return latitude > -90 && latitude <= 90
|
||||||
&& longitude > 0 && longitude <= 360;
|
&& longitude > -180 && longitude <= 180;
|
||||||
}
|
}
|
||||||
|
|
||||||
double __sin_sqr_delta(double x1, double x2) {
|
double __sin_sqr_delta(double x1, double x2) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user