Commit graph

9 commits

Author SHA1 Message Date
Dennis Korpel
2bb54df391 Move floatTraits to std.math.traits 2024-01-09 13:00:50 +01:00
Ast-x64
b2d5da9c43 Extend floating point precision in some tests
These tests may work better with quadruple-presicion real types now.
2022-06-16 19:53:02 +00:00
Luís Ferreira
62e01fc442
std.math.trigonometry: fix tan asm x86 implementation for ldc compiler
Somehow, separating asm blocks in small pieces produces additional
`mov`s and other instructions on LDC that breaks the tanAsm logic and
therefore returns wrong values.

Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2021-08-21 17:29:15 +01:00
Nathan Sashihara
efced87ae8 Again use core.math intrinsics instead of std.math wrappers
As in PR #7821 & PR #7825. Mostly changes imports
from std.math being divided into submodules.
2021-05-04 15:59:34 +02:00
berni44
0c4dcb32a0 Narrow imports in std.math. 2021-04-19 22:32:55 +02:00
berni44
943cf022ea std.math: Move some stranded unittests to correct place. 2021-04-19 18:22:33 +02:00
berni44
bb2432fdb4 Replace equalsDigit with isClose 2021-04-17 16:59:34 +02:00
berni44
772ef80622 std.math: Move trigonometric functions into submodule. 2021-04-13 07:46:30 +08:00
berni44
7031340f5f Add empty submodules to std.math. 2021-04-04 11:56:27 +02:00