Comments (4)
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.
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.
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.
Perhaps we could make the case for adding an approx
feature to the Cargo.toml?
cc. @cuviper
from approx.
Related Issues (20)
- Automatically deriving implementations HOT 9
- Adding messages to assert_* macros HOT 2
- Release another version HOT 2
- Overflow on absolute comparison of signed integers HOT 3
- Not working at all? HOT 3
- Improve Documentation HOT 2
- Support for slices? HOT 4
- Please tag releases HOT 1
- Unecessary std feature HOT 1
- relative_eq() has incorrect behavior for small values HOT 3
- Release a 1.0 version HOT 3
- Inconsistent temporary value behavior with `assert_eq!`
- clippy::if_then_panic warning (nightly) HOT 3
- Maintenance status HOT 3
- Transferral of repository HOT 1
- Give acceptable range on assertion failure
- Changelog for version updates would be nice
- `impl RelativeEq for Option<T: RelativeEq>`? HOT 1
- `assert_relative_eq!()` fails in compilation
- impl RelativeEq for NotNan and OrderedFloat from ordered_float
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from approx.