Comments (4)
Oh man, that is crazy! Sorry! Will check it out ASAP.
from spire.
So, I think this is mostly fixed. There are many different issues here:
- Long was just broken. All the powers involving Long should be fixed.
- Taking Long/Int to a Double power returns Double. If you want a Long sqrt, use .sqrt or .nroot
- In order to use roots with Rational you need an Approximation Context (as the error said)
- The SafeLong result was another bug which has been fixed.
- SafeLong can't be used with ** since conversions from BigInt => Double are very unsafe. Again, you can use .sqrt or .nroot in these cases.
See how things are treating you now.
from spire.
So @benibela any improvement for you? Can I close this ticket?
from spire.
Well, I do not actually use powers, just notices that they were strange...
On 02/16/2013 02:46 AM, Erik Osheim wrote:
So @benibela https://github.com/benibela any improvement for you?
Can I close this ticket?—
Reply to this email directly or view it on GitHub
#68 (comment).
from spire.
Related Issues (20)
- v0.18.0 migration guide
- set version scheme
- setup header plugin
- `NoImplicit` probably won't work on Scala 3? HOT 2
- Check that site/docs build in CI, run for PRs HOT 3
- Outdated Issues HOT 1
- `NaturalScalaCheckSuite.x % y` failed on Scala.js
- `RealScalaCheckSuite.x.pow(k).nroot(k) = x` failed HOT 3
- Fast-path for rounding `Real` HOT 1
- Change `fastFor` back to `cfor`
- Markdown sections with `[ ]` don't render in site
- Jar content files has future date HOT 4
- Use of bug in `cfor` macro HOT 4
- Simple example works on scastie but does not compile when using sbt HOT 5
- cleaner typeclass instances for `Fractional` HOT 1
- InnerProductSpace working example
- RFE: inline methods for spire algebra typeclass instances HOT 3
- `Complex` `atan2` and `tanh` are wrong
- Gaussian sampler crashes randomly with ArrayIndexOutOfBoundsException
- Proposal: `andThen` for Polynomial? HOT 1
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 spire.