Commit graph

193 commits

Author SHA1 Message Date
monarch dodra
60187c9d83 Merge pull request #1536 from lionello/bug10893
Fix issue 10893: added missing or renamed DDoc parameters
2013-09-08 08:37:19 -07:00
Lionello Lunesu
b4074054ba Fix issue 10893: added missing or renamed DDoc parameters (found by fix to 10236) 2013-08-31 15:36:29 +08:00
H. S. Teoh
5a622e0fb1 Add unittest for issue 6381.
To prevent regressions.
2013-08-29 08:04:27 -07:00
Johannes Pfau
20a60cf6f3 Fix frexp for real == double targets 2013-08-23 09:47:41 +02:00
ibuclaw
e778622f64 Fix floor/ceil for real==double targets. 2013-08-20 11:55:10 +01:00
ibuclaw
88b44697bb Fixup std.math unittests for new math implementations. 2013-08-18 16:28:16 +01:00
ibuclaw
e4e5ed0163 Implement pure pow(). 2013-08-18 16:28:16 +01:00
ibuclaw
5deada0d9d Implement pure lrint(). 2013-08-18 16:28:12 +01:00
ibuclaw
bf2b2a1858 Implement pure log2(). 2013-08-18 16:21:23 +01:00
ibuclaw
e3cfba31c6 Implement pure log1p(). 2013-08-18 16:21:19 +01:00
ibuclaw
67186ce75f Implement pure log10(). 2013-08-18 16:21:15 +01:00
ibuclaw
40de5a9b19 Implement pure log(). 2013-08-18 16:21:12 +01:00
ibuclaw
b1c905ecb7 Implement pure exp2(). 2013-08-18 16:21:08 +01:00
ibuclaw
6eafc405e8 Implement pure expm1(). 2013-08-18 16:21:05 +01:00
ibuclaw
3e5ed781e2 Implement pure exp(). 2013-08-18 16:21:03 +01:00
ibuclaw
598c1b8356 Implement pure atan2(). 2013-08-18 16:20:59 +01:00
ibuclaw
bdea1c2f26 Implement pure atan(). 2013-08-18 16:20:57 +01:00
ibuclaw
c7e0bac5c6 Implement pure tan(). 2013-08-18 16:20:54 +01:00
ibuclaw
26715f73d0 Implement pure floor()/ceil(). 2013-08-18 16:20:46 +01:00
ibuclaw
906648eacd Remove calls to impure mathlib functions. 2013-08-08 18:59:52 +01:00
Hackerpilot
07a2e8e3ad Reverted some changes made to the math module 2013-07-15 10:20:26 -07:00
Hackerpilot
adc44adafd Revert "Use @monarchdodra's suggestion to replace ; with {}"
This reverts commit 0c706b1560.
2013-07-15 10:11:20 -07:00
Hackerpilot
0c706b1560 Use @monarchdodra's suggestion to replace ; with {} 2013-07-15 10:10:51 -07:00
Hackerpilot
27aa2c8a44 Don't move labeles while tired 2013-07-15 00:42:31 +00:00
Hackerpilot
9ecbfa6bc7 Reverted implicit string concatienation changes 2013-07-13 19:42:50 +00:00
Hackerpilot
ae1dcaa3e1 Removed empty declarations. Converted more C-style array declarations to D-style. Removed trailing whitespace 2013-07-13 19:34:37 +00:00
Hackerpilot
0eede0c55b Removed empty declarations 2013-07-03 10:52:47 -07:00
kai
8a7d9f3b76 Make std.math compile on Linux/PPC64.
Adds some constants and moves some code to allow std.math to be
compiled on Linux/PPC64.
2013-03-30 14:47:31 +01:00
Denis Shelomovskij
6fb40fb8ac [docs] Improve std.math.FloatingPointControl example. 2013-03-14 18:57:56 +04:00
Denis Shelomovskij
99e3440e2f Fix std.math.FloatingPointControl two issues.
1. Do not call `setControlState` in destructor if not initialized (previously results in enabling all exceptions).
2. Call `initialize` on setting rounding mode (previously not called).
2013-03-14 17:23:47 +04:00
Denis Shelomovskij
9bf70d5b06 [whitespace] Fix spaces in std.math.FloatingPointControl example and unittest. 2013-03-14 17:23:47 +04:00
Don Clugston
b9990fc2b2 Prettify std.math. Cosmetic changes only.
Prettify brace placement, remove unused mfeq() unittest function.
2013-02-01 07:25:43 +01:00
k-hara
01df2f60be Remove redundant parenthesis for getters, and use assignment syntax for setters 2012-11-23 15:07:17 +09:00
Walter Bright
b90ec36c97 more Win64 math functions 2012-10-19 00:11:04 -07:00
Walter Bright
70ef6de2bf more Win64 math stuff 2012-10-18 20:46:49 -07:00
Walter Bright
30ce828e56 add some Win64 functionality 2012-10-18 19:41:45 -07:00
alexrp
b202180295 Remove all uses of sizediff_t in favor of ptrdiff_t. 2012-10-15 04:24:09 +02:00
Daniel Murphy
c5d080b1db Replace a floating.min with floating.min_normal in preparation for .min being deprecated. 2012-10-07 03:38:26 +11:00
Andrei Alexandrescu
3fc112799c Merge pull request #825 from monarchdodra/documentation
Typo in std.math doc: "Source" link appears twice
2012-10-03 21:25:30 -07:00
Johannes Pfau
9c3eed5f57 Move test from dmd test suite to unittests
Moves the tests from runnable/testmath.d to std.math
2012-09-30 19:40:22 +02:00
monarch dodra
ac1d815733 Typo in leading doc: Source appears twice 2012-09-30 20:09:09 +03:00
Iain Buclaw
5c0855de5c exp, expm1, exp2 return 'inf' for targets that don't use iasm. 2012-09-03 16:21:00 +01:00
Brad Roberts
b6ab5b6e04 remove BOM from std/math.d 2012-08-18 21:08:37 -07:00
Don Clugston
03927df872 Merge pull request #667 from alexrp/std-math-exp
std.math.exp() should be @trusted because it can fall back to core.stdc.math.exp().
2012-07-08 00:17:38 -07:00
alexrp
3e2a071f79 std.math.exp() should be @trusted because it can fall back to core.stdc.math.exp(). 2012-07-08 03:48:20 +02:00
alexrp
f44bfa1bfe Make std.math compile on non-x86 by stubbing/asserting things out. 2012-07-08 00:38:50 +02:00
Jonathan M Davis
b6f43d5e95 Merge pull request #610 from donc/deprecateGamma
Remove deprecated tgamma and erfc from math
2012-05-29 00:42:14 -07:00
Don Clugston
09a0801b0a Remove deprecated tgamma and erfc from math
Improved versions have been in std.mathspecial for 1.5 years.
2012-05-25 18:23:02 +02:00
Don Clugston
a8aa8cdcd6 Implement feqrel!(float) + fix code formatting 2012-05-22 07:34:38 +02:00
Daniel Murphy
bcd85585d6 Missed one. 2012-02-20 23:05:49 +11:00