spire icon indicating copy to clipboard operation
spire copied to clipboard

Powerful new number types and numeric abstractions for Scala.

Results 135 spire issues
Sort by recently updated
recently updated
newest added

## About this PR 📦 Updates * [org.scala-native:nscplugin](https://github.com/scala-native/scala-native) * [org.scala-native:sbt-scala-native](https://github.com/scala-native/scala-native) * [org.scala-native:scala3lib](https://github.com/scala-native/scala-native) * [org.scala-native:scalalib](https://github.com/scala-native/scala-native) * [org.scala-native:test-interface](https://github.com/scala-native/scala-native) from `0.4.16` to `0.4.17` 📜 [GitHub Release Notes](https://github.com/scala-native/scala-native/releases/tag/v0.4.17) - [Version Diff](https://github.com/scala-native/scala-native/compare/v0.4.16...v0.4.17) ## Usage ✅...

The following invocation in console, spire 0.18, scala 3.3.1: ```Scala val rng = spire.random.rng.SecureJava.apply spire.random.Gaussian (0.0, 1.0) .toLazyList (rng) .take(500) .toList ``` Call it a few times, and eventually I...

## About this PR 📦 Updates * [org.scala-js:sbt-scalajs](https://github.com/scala-js/scala-js) * [org.scala-js:scalajs-compiler](https://github.com/scala-js/scala-js) * [org.scala-js:scalajs-library](https://github.com/scala-js/scala-js) * [org.scala-js:scalajs-library_2.13](https://github.com/scala-js/scala-js) * [org.scala-js:scalajs-test-bridge](https://github.com/scala-js/scala-js) * [org.scala-js:scalajs-test-bridge_2.13](https://github.com/scala-js/scala-js) from `1.13.2` to `1.15.0` 📜 [GitHub Release Notes](https://github.com/scala-js/scala-js/releases/tag/v1.15.0) - [Version Diff](https://github.com/scala-js/scala-js/compare/v1.13.2...v1.15.0) ##...

I think there is a bug in the `atan2` and `tanh` implementation for `Complex` numbers: ```scala import spire.implicits.* import spire.math.* println(tan(atan2(Complex(2.0, 0.0), Complex(1.0, 0.0)))) // -> 1?? println(tanh(log(Complex(2.0, 0.0)))) //...

- Scala 3 report warnings since 3.4 https://github.com/lampepfl/dotty/pull/18813 - Scala 2.12 and 2.13 support new syntax without `-Xsource:3` option https://github.com/scala/scala/pull/10005

## About this PR 📦 Updates [org.portable-scala:sbt-scala-native-crossproject](https://github.com/portable-scala/sbt-crossproject) from `1.3.1` to `1.3.2` 📜 [GitHub Release Notes](https://github.com/portable-scala/sbt-crossproject/releases/tag/v1.3.2) - [Version Diff](https://github.com/portable-scala/sbt-crossproject/compare/v1.3.1...v1.3.2) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

The `cfor` macro accidentally generated the desired code by using a bug in beta-reduction. This bug will be patched https://github.com/lampepfl/dotty/pull/16390 and `cfor` will need to be updated. See https://github.com/dotty-staging/spire/compare/7f630c0209e327bdc782ade2210d8e4b916fddcc...99ea909d086e28e85dbdf8aa78ef0a83bf873405#diff-9cd0f3a9df06a2589472aa8dc960fd2a65a2b65f2f8c257addda1c86ebc31469

bug
help wanted

I believe it could be an improvement, especially for scala-3, to provide inline definitions of algebra typeclass methods. To try and illustrate, consider this example. Here I will define a...

Spire currently has good support for: - concrete data types (Rational, SafeLong, etc...) - abstract typeclasses that mimic abstract algebraic structures (rings, fields, etc...) We want to reduce Spire's JAR...

umbrella