gadomski / utm

Rust library for lat/lon to UTM conversions
https://docs.rs/utm
MIT License
6 stars 6 forks source link

no_std support #2

Closed zendurix closed 4 years ago

zendurix commented 4 years ago

Just change

use std::f64::consts::PI; to

use core::f64::consts::PI;

zendurix commented 4 years ago

Actually I tried to implement this, but it seems that core doesn't support math functions like sin(), sqrt() etc https://github.com/rust-lang/rfcs/issues/2505

gadomski commented 4 years ago

Closed by #4.