Johan Engelen
b9239bfa38
Add unittests for std.math.ilogb
2015-04-12 18:55:05 +02:00
Johan Engelen
f841c91aac
Fix bug in std.math.ilogb in CRuntime_Microsoft path.
2015-04-12 16:49:26 +02:00
Ilya Yaroshenko
5bbceb4b65
fixAfter #3014
2015-04-08 13:31:36 +03:00
Robert Schadek
e5f9e078a7
Merge pull request #3014 from 9il/intrinsic
...
std.math: №4, workaround for intrinsics
2015-04-08 12:07:12 +02:00
Johan Engelen
723e894c9a
Fix compilation.
...
The errors were:
- phobos/std/math.d(2599): Error: only global variables can be referenced by identifier in naked asm
- phobos/std/math.d(2611): Error: only global variables can be referenced by identifier in naked asm
- phobos/std/math.d(2612): Error: only global variables can be referenced by identifier in naked asm
2015-04-06 15:38:48 +02:00
Martin
9be862c931
Fix an std.math.poly() unit test.
...
The expression (6L * x) with 6 being a long literal (instead of an
intended real literal) and x of type double evaluates to a double,
while poly() uses real precision.
2015-04-04 14:34:27 +02:00
Joseph Rushton Wakeling
8d24a51ea0
Document std.math.abs with Params and Returns
2015-03-22 15:44:53 +01:00
Robert Schadek
b52e2caa78
Merge pull request #3013 from 9il/conj
...
std.math: №3, conj for double and float
2015-03-10 12:40:24 +01:00
Robert Schadek
0af21d7d52
Merge pull request #3012 from 9il/abs
...
std.math: №2, fix abs, fabs
2015-03-05 13:37:30 +01:00
Ilya Yaroshenko
ecfc77706e
abs unittest
2015-03-05 14:00:13 +03:00
Martin Nowak
62acd72cec
Merge pull request #3017 from 9il/frexp
...
[2.067.0-b2][regression] fix Issues 14212 and 6586
2015-02-27 17:30:41 +01:00
Ilya Yaroshenko
09ebc581ec
rework and try to fix Issue 6586
2015-02-26 13:56:46 +03:00
Ilya Yaroshenko
71aab209a0
fix commits
...
fix naming
fix unittest
fix static name
2015-02-26 13:56:44 +03:00
Ilya Yaroshenko
a02983e4ef
CTFE-able poly
...
This PR allows many special math function be executed at compile time.
reduced code size
fix
2015-02-26 13:22:09 +03:00
Ilya Yaroshenko
efabbd365e
std.math №3: conj for double and float
...
Issue 14206 workaround
2015-02-20 13:56:48 +03:00
Ilya Yaroshenko
83f7a870ec
std.math: №2, fix abs, fabs
...
intrinsic for `fabs` should be added to DMD.
fix unittest
2015-02-20 13:19:19 +03:00
Ilya Yaroshenko
a77c0c2042
std.math: №4, workaround for intrinsics
2015-02-20 13:07:36 +03:00
k-hara
e7b3d834d7
detab and remove trailing whitespaces
2015-02-10 00:56:40 +09:00
H. S. Teoh
f4a8f62aae
Merge pull request #2960 from 9il/poly
...
poly template
2015-02-07 11:05:34 -08:00
Ilya Yaroshenko
62a1db045e
poly template
...
fix unittest
fix unittest
fix spaces
2015-02-07 19:37:09 +03:00
Ilya Yaroshenko
23b17ca082
fix unittest
...
For future `double` and `float` versions of `log2`.
2015-02-05 00:46:51 +03:00
anonymous
9309f2b142
[DDoc] add HTML class "quickindex" to manually maintained jump link tables
2015-01-26 11:19:05 +01:00
Robert burner Schadek
2b4fc3402e
documentation update and @safe pure etc unittests
...
some more
2015-01-25 22:11:49 +01:00
Andrei Alexandrescu
cb044b02aa
Verbatim-related changes in phobos
2015-01-12 00:05:36 -08:00
Andrei Alexandrescu
a13cee766d
Ensure each module has a description at the top.
2015-01-11 14:14:29 -08:00
Andrei Alexandrescu
f6ab350232
Merge pull request #2849 from WalterBright/math-sin-doc
...
improve doc of std.math.sin
2015-01-07 14:39:29 -08:00
Walter Bright
de68fe9087
improve doc of std.math.sin
2015-01-07 12:15:37 -08:00
Andrei Alexandrescu
7e766e6796
Replace a bunch of SUP with SUPERSCRIPT
2015-01-06 22:08:21 -08:00
Rainer Schuetze
7c2f962b10
make nested foreach over TypeTuple bodies into lambdas to avoid huge functions
2014-11-28 17:15:37 +01:00
Dmitry Olshansky
eb9b71d595
Merge pull request #2611 from redstar/math
...
Add support of IEEE Flags and FloatingPointControl for PPC32/64.
2014-10-31 21:59:13 +03:00
Ilya Yaroshenko
aaa00bfb1d
update std.math and numeric
...
is->are
2014-10-25 00:23:30 +04:00
Geod24
0fb95b8c27
Usage of WEB macro for License everywhere
2014-10-15 11:30:42 +02:00
kai
b2e8ce83c6
Add support of IeeFlags and FloatingPointControl for PPC32/64.
...
This corrects some existings constants and adds new constants and logic.
Reading the PowerPC documentation is sometimes confusing because not only the
CPU is big endian but also the bit numbering inside a word is reversed (old
IBM style big endian).
The functionaly has been verified on a Linux/PPC64le system with LDC. The LDC
specific implementation is left out.
2014-10-13 23:24:08 +02:00
Dmitry Olshansky
ddae9ae99d
Merge pull request #2572 from MartinNowak/asmAttributes
...
attributes for inline asm
2014-10-09 00:08:11 +04:00
Mark Isaacson
42fa0262da
Categorize functions in std.math
2014-09-30 20:57:17 -04:00
Martin Nowak
26a52bc2d9
attributes for inline asm
2014-09-30 00:58:10 +02:00
Iain Buclaw
dfca385ffc
Fill in ARM FPSCR stub
2014-09-27 11:17:06 +01:00
H. S. Teoh
c09c178d04
Merge pull request #2524 from 9il/ctfe-math-2
...
findRoot optimization and bugfix
2014-09-19 11:11:07 -07:00
Ilya Yaroshenko
e125d03fdb
findRoot optimization
...
restore signbit check
findRoot style update
findRoot style update 2
2014-09-19 21:36:02 +04:00
H. S. Teoh
33956f10a1
Merge pull request #2508 from 9il/frexp-single-double
...
std.math: added frexp for double and float
2014-09-16 12:29:04 -07:00
Ilya Yaroshenko
c9f8a47e1c
remove private
2014-09-16 22:06:40 +04:00
Ilya Yaroshenko
0419a2e357
make a template
2014-09-16 22:04:17 +04:00
Ilya Yaroshenko
298942b7ed
Update indentation
2014-09-16 21:10:45 +04:00
Ilya Yaroshenko
7be5f90145
std.math: added frexp for float and double
2014-09-11 10:00:50 +04:00
Rainer Schuetze
3ed25d61ae
use CRuntime_DigitalMars/CRuntime_Microsoft instead of Win32/Win64 where appropriate
2014-08-23 16:14:18 +02:00
Dicebot
b4f30ffa3d
Add more integer isXXX deprecations
...
Also implementation is changed to forward to floating point signature
instead of a stub to exactly match old behaviour.
2014-07-26 04:04:18 +02:00
Iain Buclaw
9b7ab18faa
Define isNaN deprecation for integers
...
Also cleans isNaN unit tests
2014-07-26 03:17:05 +02:00
Walter Bright
984f3c9fd1
Revert "Add integral overload for isNaN for use in generic code"
2014-07-23 12:05:24 -07:00
Михаил Страшун
99624bbd48
Merge pull request #2311 from ibuclaw/intnan
...
Add integral overload for isNaN for use in generic code
2014-07-23 05:02:01 +02:00
Михаил Страшун
e6083a626d
Merge pull request #2353 from ibuclaw/floatfmt
...
Add enum RealFormat to std.math
2014-07-23 02:00:01 +02:00