Giter Club home page Giter Club logo

Comments (4)

cuviper avatar cuviper commented on May 29, 2024 1

Given the wide use of num, I am very conservative with changes, and hesitant to add external dependencies to the public API. I already have the issue that its optional serde dependency is behind the times, with no clear path for bumping to serde-1.0 without a breaking change. So if we added approx at all, I'd want to wait for approx-1.0 and might never bump from there.

(Inter-crate semver is hard... I feel this is something the Rust ecosystem is still figuring out.)

from approx.

SuperFluffy avatar SuperFluffy commented on May 29, 2024

I think this might be useful. If you make this into an optional feature, users can explicitly opt into num-complex.

I guess you intend to implement this by comparing two floating point numbers with the same accuracy?

Sorry I didn't reply earlier. Somehow I missed this in my emails.

from approx.

brendanzab avatar brendanzab commented on May 29, 2024

This would be useful, but I think I would rather the dependency go the other way. This would probably require stabilising approx though, and making the case for its inclusion in that library. Do we know who the principle maintainer is?

from approx.

brendanzab avatar brendanzab commented on May 29, 2024

Perhaps we could make the case for adding an approx feature to the Cargo.toml?

cc. @cuviper

from approx.

Related Issues (20)

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.