Giter Site home page Giter Site logo

twofloat's People

Contributors

ajtribick avatar joseluis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

twofloat's Issues

support total ordering

Rust stabilized in 1.62 the total_cmp method that follows the totalOrder predicate from the IEEE754 spec (v2008, 5.10).

The same method could be added, that calculates the total order for the the high bits first and then the lower bits.

If bumping the MSRV to 1.62 is a problem, it'd be also very easy to reimplement it from scratch.

Improve `powf` implementation

The current implementation is done in terms of ln and exp. This isn't ideal, should figure out how to do it properly.

missing a const constructor

I was missing several simple constants (0, 1, -1...) and I realized it would be very easy to make a const constructor to allow defining custom constants.

I'll send a PR.

Re-enable MinGW

Should be possible to work around the FMA issues with libm

no_fma mode?

Might be useful to enable a mode that doesn't rely on FMA for multiplications. This might be necessary to address #3

Improve display

Current implementation of display is very basic, more options would be useful!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.