(lng-min (flo:* (flo:- abs-lng lng-deg) 60.)))
(string-append
(number->string (inexact->exact lat-deg) '(int))
- "°"
+ "\xb0;"
(number->string lat-min '(fix 3))
- "′"
+ "\x2032;"
(if neg-lat? "S " "N ")
(number->string (inexact->exact lng-deg) '(int))
- "°"
+ "\xb0;"
(number->string lng-min '(fix 3))
- "′"
+ "\x2032;"
(if neg-lng? "W" "E")))))))
(define (geodesic-distance p1 p2)
;; anyway for completeness (and analysis someday).
guarantee integer-divide round->exact truncate->exact
->flonum flo:= flo:< flo:<= flo:+ flo:- flo:* flo:/
- flo:negative? flo:negate flo:truncate
+ flo:abs flo:negative? flo:negate flo:truncate
flo:sin flo:cos flo:atan2 flo:sqrt flo:atan
flo:vector-cons flo:vector-ref flo:vector-set!