Skip to content

Releases: chewxy/math32

Guard assembly files against being lifted by TinyGo

19 Sep 17:17
Compare
Choose a tag to compare

Build tags and bug fixes. Now 100% more TinyGo friendly

17 Aug 15:34
7caa3bb
Compare
Choose a tag to compare

What's Changed

  • round: add Round and RoundToEven pure Go implementations by @soypat in #31
  • math/Tan: add Tangent function by @soypat in #37
  • tests: fix remaining failing cases by @soypat in #32
  • sqrt stubs fixed. usable in tinygo now! by @soypat in #33
  • guard Exp and Exp2 stubs by @soypat in #35
  • guard remainder stubs by @soypat in #36
  • guard log stubs by @soypat in #34
  • add arch vet tests. fix arm,arm64 duplicated decl by @soypat in #41
  • Don't try to run vet on tinygo, which does not yet support fork/exec by @dkegel-fastly in #43
  • fix recursive ARM asm call to remainder; match archRemainder for ARM64 by @soypat in #48

New Contributors

Full Changelog: v1.10.1...v1.11

Functions converted to Go

15 Nov 00:23
3d187f2
Compare
Choose a tag to compare

Additional functions converted to Go courtesy of @soypat:

  • asin
  • acos
  • atan
  • atan2
  • sin
  • cos
  • sinh
  • cosh
  • tanh

Added `Round()`, Fixed documentation of `Atan2()`

01 Jul 23:19
46cb953
Compare
Choose a tag to compare

In this release Round was added by @neclepsio. Also, Atan2 was reported to have a documentation issue - before the fix the function signature was Atan2(x, y float32). After the fix it's Atan2(y, x float32). No changes to the internal functioning were made as Atan2 is a wrapper to math.Atan2.

Much thanks to @neclepsio

Typo in release cause go mod to fail

25 Apr 13:08
a3549c8
Compare
Choose a tag to compare

This release is exactly the same as v1.08. But because v1.08 is a typo of v1.0.8, this breaks go mod. This release fixes that

ARM64 support for Exp has been fixed

23 Feb 03:14
a3549c8
Compare
Choose a tag to compare

Much thanks to @dcu @owulveryck and @blackrez for their contributions.

Added Licence

03 Jan 22:11
db8bbc4
Compare
Choose a tag to compare

Added a BSD-2 style licence for this project. No code changes

S390X support added

01 Jun 19:17
9dce16d
Compare
Choose a tag to compare

Support for `Exp2` on `arm64` fixed

01 May 23:36
6096fe9
Compare
Choose a tag to compare

Additionally, the stubs have also been corrected for architectures that do not have assembly code specializations.

Much thanks to @blackrez and @ssoroka for their contributions and Carlos Villegas for reporting the issue.

Go Mod support added , RISC-V support added

04 Sep 02:34
Compare
Choose a tag to compare
v1.0.4

added build tags for riscv