ajtribick / twofloat

A double-double arithmetic library for Rust
BSD 3-Clause "New" or "Revised" License
16 stars 7 forks source link

add `num-traits` feature #7

Closed joseluis closed 2 years ago

joseluis commented 2 years ago

It would be very nice to have optionally implemented num-traits like ToPrimitive, FromPrimitive, Num, Float, FloatCore and Bounded, in a similar way as what the half crate does.

ajtribick commented 2 years ago

This is coming in the next version, currently on the v0.5-dev branch. I'm planning to release this after finishing off implementing the updated display functionality.

joseluis commented 2 years ago

I was going to test out the dev branch and I just realized it doesn't exist. Is that intended?

ajtribick commented 2 years ago

@joseluis - yes, I decided it wasn't particularly useful to have it split off. I've merged it into the main branch so you can use that instead.

ajtribick commented 2 years ago

I have now released this as v0.5.0, splitting off the incomplete string and macro functionality for a future release.