Commit graph

15296 commits

Author SHA1 Message Date
Don Clugston
eb61deb82e Tango compatibility.
* IEEE754 names for isNaN, isFinite, isNormal, isSubnormal, isInfinity. Aliases for the old names have been retained.
* The non-functional nan(char[]) is replaced with NaN, getNaNpayload.
* Restored float, double versions of the trig & exp functions
* finally got rid of the private mfeq() function
2009-02-26 19:44:09 +00:00
Don Clugston
cde0563c68 Added NaN payload functions (from Tango).
Removed std.math.nan, which was a no-op.
2009-02-26 10:02:43 +00:00
Don Clugston
99e533ab68 Faster complex trig functions. Marked math as a System module. 2009-02-26 08:13:21 +00:00
Walter Bright
18404fdeea add purity and nothrow 2009-02-24 11:02:48 +00:00
Don Clugston
2d098cbc5e Removed the last bits of HTML from the ddoc comments. 2009-02-24 08:13:34 +00:00
Don Clugston
02b2dc3fe5 Replaced html with ddoc tags 2009-02-24 07:55:57 +00:00
Don Clugston
f76e9c5ff1 * exp2() and expm1() also 3 times faster. 2009-02-23 20:05:01 +00:00
Don Clugston
cabeb2fac6 * exp() is now 3 times faster.
* sinh, cosh, tanh now use D implementations rather than the C standard library.
2009-02-20 14:17:21 +00:00
Don Clugston
b85951e49a This dead module should have been removed long ago 2009-02-20 13:27:15 +00:00
Walter Bright
209a765a40 2.025 2009-02-14 20:18:44 +00:00
Walter Bright
295a1633b7 fails unit tests 2009-02-14 17:47:38 +00:00
Walter Bright
8c763e5848 more osx fixes 2009-02-13 03:41:56 +00:00
Walter Bright
6c748fdfe1 fix makefile bug 2009-02-12 10:33:16 +00:00
Walter Bright
d57e203dc9 fold in some OSX changes 2009-02-10 02:21:15 +00:00
Walter Bright
f2ae2d5248 fix missing; 2009-02-10 00:11:27 +00:00
Don Clugston
8a26741130 Restored #881 which just got rolled back in previous commit.
Fixed sgn() for floating point numbers (now does NaN,+-0 correctly).
2009-01-31 17:20:28 +00:00
Andrei Alexandrescu
d835dc3dc0 templatized a number of math functions 2009-01-30 16:54:16 +00:00
Andrei Alexandrescu
e9982aae07 minor improvements 2009-01-23 16:25:21 +00:00
Andrei Alexandrescu
77b9e1a936 minor improvements 2009-01-23 16:24:14 +00:00
Andrei Alexandrescu
98d1b0d507 minor improvements 2009-01-23 16:23:36 +00:00
Andrei Alexandrescu
e8269abafc file functions now accept const(char)[] instead of string 2009-01-23 15:59:00 +00:00
Andrei Alexandrescu
35181b91c9 Added 'name'_min and 'name'_max for all bitfields. Added range asserts to avoid loss in assignment. 2009-01-23 15:45:35 +00:00
Andrei Alexandrescu
50bf1a9229 minor internal improvements 2009-01-23 15:29:15 +00:00
Andrei Alexandrescu
89df33f769 Added 'name'_min and 'name'_max for all bitfields. Added range asserts to avoid loss in assignment. 2009-01-23 14:57:16 +00:00
Don Clugston
6dbecd1864 Added TypeCons.AlignForSize for optimising struct layout (requested by dsimcha). 2009-01-22 07:08:32 +00:00
Walter Bright
953f133539 2009-01-03 00:58:17 +00:00
Walter Bright
288b76bd82 rollup 2008-12-12 10:45:36 +00:00
Don Clugston
49826b4077 Removed all workarounds for bug #1257 (hooray!) 2008-12-08 14:43:01 +00:00
Walter Bright
9369507f8c update docs 2008-11-27 19:24:18 +00:00
Don Clugston
99cf9b46a9 Removed my bigint asm code. It's out-of-date, and not used by bigint. It will return once the tango-phobos merger is more complete. 2008-11-25 12:25:50 +00:00
Sean Kelly
1a4740056a The code coverage feature of druntime has been fixed, so I'm removing std.cover. 2008-11-24 22:42:39 +00:00
Sean Kelly
0a86690947 Changed "std.string.strlen" to "std.c.string.strlen" so loader would build properly on linux. 2008-11-24 20:53:24 +00:00
Walter Bright
7afd13a6c6 fix broken unittests 2008-11-23 06:38:57 +00:00
Walter Bright
f5803c1505 update for new compiler 2008-11-23 05:35:41 +00:00
Sean Kelly
61e7e85856 Replaced std.array, which I'd been a bit overzealous in deleting. 2008-11-17 23:24:23 +00:00
Walter Bright
ec90f4f10e fix sloppy import qualification 2008-11-15 22:29:42 +00:00
Walter Bright
203f6debf5 fix scope 2008-11-06 09:57:35 +00:00
Walter Bright
9725636a64 get unit tests to work 2008-11-05 02:57:49 +00:00
Walter Bright
3d1b760496 update to reflect this is now a reference type 2008-11-04 22:08:40 +00:00
Walter Bright
2310bb2577 rename onArrayBoundsError to onRangeError 2008-11-03 04:42:46 +00:00
Walter Bright
1ffc553c7a bugzilla 2429 2008-10-26 08:40:59 +00:00
Walter Bright
eec64ecd91 2.020 final rollup 2008-10-21 00:12:23 +00:00
Walter Bright
480b71d0d4 fix html generation 2008-10-18 21:43:26 +00:00
Sean Kelly
440c981670 Added druntime to the list of libraries linked when building unittest. 2008-10-17 19:45:26 +00:00
Sean Kelly
330aee040b getErrno() and setErrno() are now exposed by druntime. 2008-10-17 01:08:22 +00:00
Sean Kelly
5eeb591a95 Modified Phobos to reference the new core package in druntime. 2008-10-17 01:01:18 +00:00
Sean Kelly
39d7c7fd9c Added zlib objects to OBJS var. This was mistakenly removed in the last edit. 2008-10-13 20:39:04 +00:00
Sean Kelly
bc10c6c99c Fixed use of GC.malloc to obtain a slice of the returned memory. 2008-10-13 20:05:21 +00:00
Walter Bright
cad4405897 remove minit, add druntime.lib 2008-10-12 19:07:59 +00:00
Sean Kelly
edb5c5003e This commit includes all the changes necessary for Phobos to run against druntime. Here is a sucinct list of the changes made:
* Removed gcstats.  Garbage collector statistics will be avaialable in durintime's 'memory' module.
    * Removed object.d.  This module is replaced by the object.d provided by druntime.
    * Removed std.array.  To trap an array bounds error, import 'exception' from druntime and catch ArrayBoundsException.
    * Removed std.asserterror.  To trap an asertion failure, import 'exception' from druntime and catch AssertException.
    * Removed std.gc.  To interact with the garbage collector, import 'memory' from druntime.
    * Removed std.hiddenfunc.  No equivalent exception is currently exposed by druntime, but if one is exposed it will be called HiddenFuncException and be declared in 'exception'.
    * Removed std.moduleinit.  druntime declares ModuleInfo in object.d, so it is implicitly availble without importing.
    * Removed std.outofmemory.  To trap an out of memory error, import 'exception' from druntime and catch OutOfMemoryException.
    * Removed std.switcherr.  To trap a switch error, import 'exception' from druntime and catch SwitchException.
    * Removed std.synchro.  This functionality will exist within druintime.
    * Removed std.thread.  A Thread class is available within druntime's 'thread' module.  An interface comparison will be provided separately.
    * Removed std.typeinfo.  The classes defined in this package are for runtime use and should not be visible to the user.

The prior version of Phobos has been archived in tags/phobos-2.019 if needed.
2008-10-11 00:56:40 +00:00