On 02/19/2011 07:39 AM, Walter Bright wrote:
Jonathan M Davis wrote:
Vader had no clue
So much for his force!
How can one expect consistency from a fairytale?
On Fri, 2011-02-18 at 17:24 -0800, Jonathan M Davis wrote:
[ . . . ]
No, they're definitely _not_ the same - at least not in the zip file. Maybe
the
deb or the rpm is messed up, but the zip file is fine. It _does_ look like
-L-lrt
was added in dmd 2.051 (though I'm not sure if it was
Am I correct in assuming that DMD generates 32-bit by default and that
for 64-bit you have to give the -m64 option?
Is the eventual plan to use the natural word length of the platform as
the default, i.e. 32-bit on 32-bit and 64-bit on 64-bit, with the option
to force something different using
On Sat, 19 Feb 2011 12:12:25 +0300, Russel Winder rus...@russel.org.uk
wrote:
Am I correct in assuming that DMD generates 32-bit by default and that
for 64-bit you have to give the -m64 option?
Is the eventual plan to use the natural word length of the platform as
the default, i.e. 32-bit on
On Saturday 19 February 2011 01:12:25 Russel Winder wrote:
Am I correct in assuming that DMD generates 32-bit by default and that
for 64-bit you have to give the -m64 option?
Is the eventual plan to use the natural word length of the platform as
the default, i.e. 32-bit on 32-bit and 64-bit
== Quote from Iain Buclaw (ibuc...@ubuntu.com)'s article
== Quote from Christian Kamm (kamm-incasoftw...@removethis.de)'s article
Iain Buclaw wrote:
== Quote from Christian Kamm (kamm-incasoftw...@removethis.de)'s article
Iain Buclaw wrote:
Will be making shared libraries default in
On 02/18/2011 08:39 PM, Walter Bright wrote:
Huge? How about it never occurs to Vader to search for Luke at the most
obvious location in the universe - his nearest living relatives (Uncle
Owen)? That's just the start of the ludicrousness.
Ok, I have no right to be annoyed, but what an
Hello,
What do you think of this?
unittest {
assert(-1.1 + 2.2 == 1.1); // pass
assert(-1.1 + 2.2 + 3.3 == 4.4);// pass
assert(-1.1 + 3.3 + 2.2 == 4.4);// fail
assert(-1.1 + 3.3 == 2.2); // fail
}
There is approxEquals in stdlib, right; but shouldn't
On Saturday 19 February 2011 04:06:38 spir wrote:
Hello,
What do you think of this?
unittest {
assert(-1.1 + 2.2 == 1.1); // pass
assert(-1.1 + 2.2 + 3.3 == 4.4);// pass
assert(-1.1 + 3.3 + 2.2 == 4.4);// fail
assert(-1.1 + 3.3 == 2.2); //
On 19.02.2011 13:06, spir wrote:
Hello,
What do you think of this?
unittest {
assert(-1.1 + 2.2 == 1.1); // pass
assert(-1.1 + 2.2 + 3.3 == 4.4); // pass
assert(-1.1 + 3.3 + 2.2 == 4.4); // fail
assert(-1.1 + 3.3 == 2.2); // fail
}
There is approxEquals in stdlib, right; but shouldn't builtin
Jonathan M Davis:
The thing is, of course, that actual equality sucks for floating point
values.
So much, that some people have proposed to deprecate the normal FP equality.
MISRA-C disallows them. When you see a == among FP values is often a code smell.
Bye,
bearophile
On 02/19/2011 01:21 PM, Jonathan M Davis wrote:
On Saturday 19 February 2011 04:06:38 spir wrote:
Hello,
What do you think of this?
unittest {
assert(-1.1 + 2.2 == 1.1); // pass
assert(-1.1 + 2.2 + 3.3 == 4.4);// pass
assert(-1.1 + 3.3 + 2.2 == 4.4);// fail
spir:
Well, about consistency, I meant cases 2 vs 3.
Floating point values are not the real values you are used in mathematics. They
are approximations, and generally for them associative and distributive
properties don't hold:
http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems
BTW, here are the timings if I remove the GC.BlkAttr.NO_SCAN, meaning
that everything gets scanned. Said timings aren't drastically
different. Something is seriously wrong here.
Collected a 10 megabyte heap in 1 milliseconds.
Collected a 50 megabyte heap in 3 milliseconds.
Collected a 200
dsimcha:
BTW, here are the timings if I remove the GC.BlkAttr.NO_SCAN, meaning
that everything gets scanned. Said timings aren't drastically
different. Something is seriously wrong here.
Languages like Clojure, Scala, Boo, etc, start their development on a virtual
machine where there is
You may be right, but:
1. Reinventing the wheel has its advantages in that you get to step
back and reevaluate things and remove all the cruft that built up on the
existing wheel.
2. I'm guessing this is a silly bug somewhere rather than a deep design
flaw, and that it can easily be
spir wrote:
On 02/19/2011 01:21 PM, Jonathan M Davis wrote:
On Saturday 19 February 2011 04:06:38 spir wrote:
Hello,
What do you think of this?
unittest {
assert(-1.1 + 2.2 == 1.1); // pass
assert(-1.1 + 2.2 + 3.3 == 4.4);// pass
assert(-1.1 + 3.3 + 2.2 ==
Is a Windows 64 bit version of GDC any closer than a version of DMD? I guess
that
fixing Phobos will be useful there as well.
Just a thought; I guess the references to the non-GC-scanned strings
are held in GC-scanned memory, right? Are the number of such
references also increased linearly?
I'm not a GC-expert, but if so, wouldn't that pretty much force the GC
to do at least one follow-up of every reference, before
Compiling GDC on Windows is a PITA.
I wish someone released prebuilt versions.
On 02/19/2011 02:41 PM, bearophile wrote:
spir:
Well, about consistency, I meant cases 2 vs 3.
Floating point values are not the real values you are used in mathematics. They
are approximations, and generally for them associative and distributive
properties don't hold:
On 2/19/2011 12:50 PM, Ulrik Mikaelsson wrote:
Just a thought; I guess the references to the non-GC-scanned strings
are held in GC-scanned memory, right? Are the number of such
references also increased linearly?
Well, first of all, the benchmark I posted seems to indicate otherwise.
Second
On 2/19/11 8:30 PM, spir wrote:
Right, but then what are we supposed to do?
Just check for strict equality if you are sure you need it, and use a
fuzzy comparison in all other cases? Sorry, I don't quite get your problem…
David
Note: I know I could make the program in question a lot more space
efficient, and that's what I ended up doing. It works now. It's just
that it was originally written for yeast, where space efficiency is
obviously not a concern, and I would have liked to just try a one-off
calculation
On 02/19/2011 04:40 PM, Don wrote:
spir wrote:
On 02/19/2011 01:21 PM, Jonathan M Davis wrote:
On Saturday 19 February 2011 04:06:38 spir wrote:
Hello,
What do you think of this?
unittest {
assert(-1.1 + 2.2 == 1.1); // pass
assert(-1.1 + 2.2 + 3.3 == 4.4); // pass
assert(-1.1 + 3.3 + 2.2
Matthias Walter wrote:
1. Are there any further suggestions on the implementations / Did I
forget something?
Are benchmarks done with BigInt and long too? (If you test bigints you need
bigger numbers too, and to test that the results are correct).
I'd like to work on the BigInt things but
Sat, 19 Feb 2011 14:32:27 -0500, dsimcha wrote:
On 2/19/2011 12:50 PM, Ulrik Mikaelsson wrote:
Just a thought; I guess the references to the non-GC-scanned strings
are held in GC-scanned memory, right? Are the number of such references
also increased linearly?
Well, first of all, the
On 2/19/2011 2:46 PM, Trass3r wrote:
Note: I know I could make the program in question a lot more space
efficient, and that's what I ended up doing. It works now. It's just
that it was originally written for yeast, where space efficiency is
obviously not a concern, and I would have liked to just
Hello,
Walter Bright newshou...@digitalmars.com wrote in message
news:ijnt3o$22dm$1...@digitalmars.com...
nedbrek wrote:
Reordering happens in the scheduler. A simple model is Fetch,
Schedule, Retire. Fetch and retire are done in program order. For
code that is hitting well in the cache,
nedbrek Wrote:
Hello,
Walter Bright newshou...@digitalmars.com wrote in message
news:ijnt3o$22dm$1...@digitalmars.com...
nedbrek wrote:
Reordering happens in the scheduler. A simple model is Fetch,
Schedule, Retire. Fetch and retire are done in program order. For
code that is
Russel Winder rus...@russel.org.uk wrote in message
news:mailman.1784.1298102229.4748.digitalmar...@puremagic.com...
Sadly all the effects companies are using C++ and Python, can D get
traction as the language of choice for the post-production companies?
IIRC, Someone here said that they had
Trass3r u...@known.com wrote in message news:op.vq5xlfto3ncmek@enigma...
Compiling GDC on Windows is a PITA.
I wish someone released prebuilt versions.
Compiling GCC on Windows is a PITA.
That's why we have TDM: http://tdm-gcc.tdragon.net/
At least for GCC.
== Quote from Nick Sabalausky (a@a.a)'s article
Trass3r u...@known.com wrote in message news:op.vq5xlfto3ncmek@enigma...
Compiling GDC on Windows is a PITA.
I wish someone released prebuilt versions.
Compiling GCC on Windows is a PITA.
Windows is a PITA, period.
I tried using it as an
On Sat, 19 Feb 2011 00:03:27 -0500, dsimcha dsim...@yahoo.com wrote:
I've been trying out D's new 64-bit compiler and a serious barrier to
using it effectively seems to be abysmal garbage collection performance
with large heaps. It seems like the time for a garbage collection to run
scales
Disregard my TDM link, I didn't realize GCC has to be built from the
ground up for GDC (that's the impression I get from the looks of
things on the web).
Are there no GDC binaries for D2/Win32?
distcc c@p.p wrote in message news:ijp9ji$1hvd$1...@digitalmars.com...
nedbrek Wrote:
Walter Bright newshou...@digitalmars.com wrote in message
news:ijnt3o$22dm$1...@digitalmars.com...
nedbrek wrote:
Also, macro op fusion allows you can get a branch along with the last
instruction in
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message
news:mailman.1800.1298152676.4748.digitalmar...@puremagic.com...
That's why we have TDM: http://tdm-gcc.tdragon.net/
At least for GCC.
Ah cool. Kind of like a DJGPP: The Next Generation
Yeh, I rebuilt the same model in my head over the past few hours (like
you, I had a good mental model of the GC at one point but have slowly
forgotten it). Unfortunately it looks like there's no easy fix. It
also seems like gcbits are allocated as 1 bit for every 16 bytes of heap
space, no
...and actually, forget() would only work for arrays of primitives,
because if the object has pointers, you can change what these point to
after calling forget() and Bad Things Can Happen.
On 2/19/2011 6:17 PM, dsimcha wrote:
Yeh, I rebuilt the same model in my head over the past few hours
I'm very interested in trying out GDC with D2 on Win32. I fear
compiling GDC is gonna be tricky though. Has anyone had success with
it? Hand me a few tips before I venture into the unknown, please! (and
if I'm successful I'll upload the binaries somewhere, maybe on
sourceforge).
Russel Winder wrote:
Am I correct in assuming that DMD generates 32-bit by default and that
for 64-bit you have to give the -m64 option?
Is the eventual plan to use the natural word length of the platform as
the default, i.e. 32-bit on 32-bit and 64-bit on 64-bit, with the option
to force
spir wrote:
So, maybe, default '==' should
perform approxEqual if needed?
That'll just trade one set of problems for another.
dsimcha:
Yeh, I rebuilt the same model in my head over the past few hours (like
you, I had a good mental model of the GC at one point but have slowly
forgotten it).
For serious D programmers having such model in the head is so important that
I'd like a short page with such explanations
Walter:
That'll just trade one set of problems for another.
But the second set of problems may be smaller :-) This happens all the time.
Bye,
bearophile
In a Python module if you define a name with a starting underscore, that name
will be private to that module, and it will not be imported if a command from
module_name import * is used:
class Name1: pass
def name2(): pass
_private_name3 = 3
name4 = 4
In Python there is another optional way to
Iain Buclaw ibuc...@ubuntu.com wrote in message
news:ijpgap$1shk$1...@digitalmars.com...
== Quote from Nick Sabalausky (a@a.a)'s article
Trass3r u...@known.com wrote in message
news:op.vq5xlfto3ncmek@enigma...
Compiling GDC on Windows is a PITA.
I wish someone released prebuilt versions.
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message
news:mailman.1802.1298158001.4748.digitalmar...@puremagic.com...
I'm very interested in trying out GDC with D2 on Win32. I fear
compiling GDC is gonna be tricky though. Has anyone had success with
it? Hand me a few tips before I
On 2/20/11, Nick Sabalausky a@a.a wrote:
Eveything's probably out-of-date enough to useless by now, but FWIW I wrote
a little bit about it here:
http://www.semitwist.com/articles/article/view/d-on-gba-nds-progress-thanks-to-oopman
Okay, I've collected a few links to get me started. Thanks
Nick Sabalausky a@a.a wrote in message
news:ijpmbc$25vv$1...@digitalmars.com...
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message
news:mailman.1802.1298158001.4748.digitalmar...@puremagic.com...
I'm very interested in trying out GDC with D2 on Win32. I fear
compiling GDC is gonna
Jonathan M Davis jmdavisp...@gmx.com wrote in message
news:mailman.1787.1298108224.4748.digitalmar...@puremagic.com...
On Saturday 19 February 2011 01:12:25 Russel Winder wrote:
Am I correct in assuming that DMD generates 32-bit by default and that
for 64-bit you have to give the -m64
On 2/20/11, Nick Sabalausky a@a.a wrote:
I don't mean this as anti-64bit trolling, just a genuine question, but
what would be the point of a 64-bit build of DMD?
Some of us would like to play Crysis at compile-time.
I'm very interested in trying out GDC with D2 on Win32. I fear
compiling GDC is gonna be tricky though. Has anyone had success with
it? Hand me a few tips before I venture into the unknown, please! (and
if I'm successful I'll upload the binaries somewhere, maybe on
sourceforge).
You need msys
http://classicshell.sourceforge.net; might fix some of my Win7
complaints),
Thanks for the link.
The copy UI and status bar issues are indeed annoying.
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message
news:mailman.1803.1298161166.4748.digitalmar...@puremagic.com...
On 2/20/11, Nick Sabalausky a@a.a wrote:
Eveything's probably out-of-date enough to useless by now, but FWIW I
wrote
a little bit about it here:
Hello, I'm new here. I've read through some of the archives, but it's
unclear to me if this is the correct place to propose and discuss new
language features; would someone point me in the right direction?
I've been playing around with the language for a few weeks now, and I
have to say I'm
On 02/20/2011 12:46 AM, bearophile wrote:
In a Python module if you define a name with a starting underscore, that name will be
private to that module, and it will not be imported if a command from module_name
import * is used:
class Name1: pass
def name2(): pass
_private_name3 = 3
name4 = 4
On 2/19/11 6:35 PM, Bekenn wrote:
Hello, I'm new here. I've read through some of the archives, but it's
unclear to me if this is the correct place to propose and discuss new
language features; would someone point me in the right direction?
This is definitely the right place. Welcome and thanks
Nick Sabalausky wrote:
I don't mean this as anti-64bit trolling, just a genuine question, but
what would be the point of a 64-bit build of DMD? (Note: I'm talking about
host, not target). Just to compile projects that have (on the order of)
gigabytes of source?
Some machines (in particular,
Trass3r u...@known.com wrote in message news:op.vq6d47mm3ncmek@enigma...
http://classicshell.sourceforge.net; might fix some of my Win7
complaints),
Thanks for the link.
The copy UI and status bar issues are indeed annoying.
I've never actually tried Classic Shell since my sister's computer
On 2/20/11, Trass3r u...@known.com wrote:
I'm very interested in trying out GDC with D2 on Win32. I fear
compiling GDC is gonna be tricky though. Has anyone had success with
it? Hand me a few tips before I venture into the unknown, please! (and
if I'm successful I'll upload the binaries
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message
news:mailman.1804.1298161732.4748.digitalmar...@puremagic.com...
On 2/20/11, Nick Sabalausky a@a.a wrote:
I don't mean this as anti-64bit trolling, just a genuine question, but
what would be the point of a 64-bit build of DMD?
Some
On Sat, 19 Feb 2011 19:21:05 -0500, Nick Sabalausky a@a.a wrote:
Jonathan M Davis jmdavisp...@gmx.com wrote in message
news:mailman.1787.1298108224.4748.digitalmar...@puremagic.com...
On Saturday 19 February 2011 01:12:25 Russel Winder wrote:
Am I correct in assuming that DMD generates 32-bit
On Saturday 19 February 2011 16:21:05 Nick Sabalausky wrote:
Jonathan M Davis jmdavisp...@gmx.com wrote in message
news:mailman.1787.1298108224.4748.digitalmar...@puremagic.com...
On Saturday 19 February 2011 01:12:25 Russel Winder wrote:
Am I correct in assuming that DMD generates 32-bit
Am 20.02.2011 03:22, schrieb Jonathan M Davis:
On Saturday 19 February 2011 16:21:05 Nick Sabalausky wrote:
Jonathan M Davisjmdavisp...@gmx.com wrote in message
news:mailman.1787.1298108224.4748.digitalmar...@puremagic.com...
On Saturday 19 February 2011 01:12:25 Russel Winder wrote:
Am I
On Saturday 19 February 2011 15:46:51 bearophile wrote:
In a Python module if you define a name with a starting underscore, that
name will be private to that module, and it will not be imported if a
command from module_name import * is used:
class Name1: pass
def name2(): pass
On Saturday 19 February 2011 18:27:17 Daniel Gibson wrote:
Am 20.02.2011 03:22, schrieb Jonathan M Davis:
On Saturday 19 February 2011 16:21:05 Nick Sabalausky wrote:
Jonathan M Davisjmdavisp...@gmx.com wrote in message
news:mailman.1787.1298108224.4748.digitalmar...@puremagic.com...
I've been updating the docs for my Goldie project in preparation of a new
release, and figured the they looked a bit...sterile, so I've tweaked the
CSS a bit. And, well, I think I've stumbled upon a heisencolor...(or a
heisenhue, rather)
Without reading any replies or cheating by inspecting
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message
news:ijpogm$29au$1...@digitalmars.com...
On 2/19/11 6:35 PM, Bekenn wrote:
Hello, I'm new here. I've read through some of the archives, but it's
unclear to me if this is the correct place to propose and discuss new
language
retard r...@tard.com.invalid wrote in message
news:ijp7pa$1d34$1...@digitalmars.com...
Sat, 19 Feb 2011 14:32:27 -0500, dsimcha wrote:
On 2/19/2011 12:50 PM, Ulrik Mikaelsson wrote:
Just a thought; I guess the references to the non-GC-scanned strings
are held in GC-scanned memory, right? Are
warm grey
dsimcha dsim...@yahoo.com wrote in message
news:ijp61d$1bu1$1...@digitalmars.com...
On 2/19/2011 12:50 PM, Ulrik Mikaelsson wrote:
Just a thought; I guess the references to the non-GC-scanned strings
are held in GC-scanned memory, right? Are the number of such
references also increased
Am 20.02.2011 03:49, schrieb Jonathan M Davis:
On Saturday 19 February 2011 18:27:17 Daniel Gibson wrote:
Am 20.02.2011 03:22, schrieb Jonathan M Davis:
On Saturday 19 February 2011 16:21:05 Nick Sabalausky wrote:
Jonathan M Davisjmdavisp...@gmx.com wrote in message
Am 20.02.2011 03:53, schrieb Nick Sabalausky:
I've been updating the docs for my Goldie project in preparation of a new
release, and figured the they looked a bit...sterile, so I've tweaked the
CSS a bit. And, well, I think I've stumbled upon a heisencolor...(or a
heisenhue, rather)
Without
bearophile bearophileh...@lycos.com wrote in message
news:ijpkh8$232r$1...@digitalmars.com...
dsimcha:
Yeh, I rebuilt the same model in my head over the past few hours (like
you, I had a good mental model of the GC at one point but have slowly
forgotten it).
For serious D programmers
On 2/19/2011 10:21 PM, Nick Sabalausky wrote:
Out of curiosity, roughly how many, umm characters (I forget the technical
term for each T, G, etc), are in each yeast gene, and how many genes do they
have? (Humans have, umm, was it 26? My last biology class was ages ago.)
It varies massively,
On Saturday 19 February 2011 18:53:15 Nick Sabalausky wrote:
I've been updating the docs for my Goldie project in preparation of a new
release, and figured the they looked a bit...sterile, so I've tweaked the
CSS a bit. And, well, I think I've stumbled upon a heisencolor...(or a
heisenhue,
Nick Sabalausky wrote:
Walter Bright newshou...@digitalmars.com wrote in message
news:ijpp2j$2a5r$1...@digitalmars.com...
Some machines (in particular, FreeBSD) do not support mixed mode
development.
(Yes, I know FreeBSD does in theory, but I could never get it to work.)
By that, do you
dsimcha dsim...@yahoo.com wrote in message
news:ijq2bl$2opj$1...@digitalmars.com...
On 2/19/2011 10:21 PM, Nick Sabalausky wrote:
Out of curiosity, roughly how many, umm characters (I forget the
technical
term for each T, G, etc), are in each yeast gene, and how many genes do
they
have?
It shows as olive green to me. This is because my monitor has horrible
yellows. I can see in a color picker that it's actually a dark shade
of yellow though.
Am 20.02.2011 04:55, schrieb Andrej Mitrovic:
It shows as olive green to me. This is because my monitor has horrible
yellows. I can see in a color picker that it's actually a dark shade
of yellow though.
Not really, more like something between a dark yellow and light grey
(and more blue would
Sat, 19 Feb 2011 22:15:52 -0500, Nick Sabalausky wrote:
retard r...@tard.com.invalid wrote in message
news:ijp7pa$1d34$1...@digitalmars.com...
Sat, 19 Feb 2011 14:32:27 -0500, dsimcha wrote:
On 2/19/2011 12:50 PM, Ulrik Mikaelsson wrote:
Just a thought; I guess the references to the
No I think what really drives people insane is 20pixel fonts with
super-displaced dropshadows.
Or websites which hijack your browser and do things like hide your
mouse cursor for no reason, disable selection of text, make the back
button useless, add useless integrated taskbars at the bottom.
Am 20.02.2011 05:39, schrieb Andrej Mitrovic:
No I think what really drives people insane is 20pixel fonts with
super-displaced dropshadows.
Or websites which hijack your browser and do things like hide your
mouse cursor for no reason, disable selection of text, make the back
button useless, add
bearophile wrote:
Walter:
That'll just trade one set of problems for another.
But the second set of problems may be smaller :-)
There's a total lack of evidence for that. Furthermore,
1. Roundoff error is not of a fixed magnitude.
2. A user may choose to ignore roundoff errors, but that
I like the Never used a parsing tool? bit. Seems like something I'd read.
Posix defines the tzset function along with a few helper items. From the Linux
man page:
extern int daylight;
extern long timezone;
extern char *tzname[2];
void tzset(void);
It seems that while these _are_ Posix, not all Posix systems declare all of
them
(which baffles me, but that's the
On Saturday 19 February 2011 20:46:50 Walter Bright wrote:
bearophile wrote:
Walter:
That'll just trade one set of problems for another.
But the second set of problems may be smaller :-)
There's a total lack of evidence for that. Furthermore,
1. Roundoff error is not of a fixed
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message
news:mailman.1819.1298177938.4748.digitalmar...@puremagic.com...
I like the Never used a parsing tool? bit. Seems like something I'd read.
It really just refers people to the Getting Started section (which is
aimed at people new to
On 2/19/2011 6:57 PM, Nick Sabalausky wrote:
Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message
news:ijpogm$29au$1...@digitalmars.com...
On 2/19/11 6:35 PM, Bekenn wrote:
Hello, I'm new here. I've read through some of the archives, but it's
unclear to me if this is the correct
Daniel Gibson metalcae...@gmail.com wrote in message
news:ijq6io$in$5...@digitalmars.com...
Am 20.02.2011 05:39, schrieb Andrej Mitrovic:
No I think what really drives people insane is 20pixel fonts with
super-displaced dropshadows.
Or websites which hijack your browser and do things like
With the most recent release, we got findSplit, findSplitBefore, and
findSplitAfter
in std.algorithm, which are all very useful and cool. However, in light of what
they can do, I'm wondering if we really need std.algorithm.until? It seems to
me
that the findSplit* functions give you that
Jonathan M Davis wrote:
Honestly, the more that I learn about and deal with floating point numbers, the
more I wonder why we don't just use fixed point. Obviously that can be a bit
limiting for the size of the number (on either side of the decimal) -
particularly in 32-bit land - but with
Walter Bright wrote:
Bottom line is, if you work with numbers, you've got to pay attention to
roundoff error and other mechanical issues in deriving answers, whether
you're using a calculator, a computer, a slide rule, by hand, whatever.
If you don't, you are incompetent.
I mean you
On Saturday 19 February 2011 23:09:51 Walter Bright wrote:
Walter Bright wrote:
Bottom line is, if you work with numbers, you've got to pay attention to
roundoff error and other mechanical issues in deriving answers, whether
you're using a calculator, a computer, a slide rule, by hand,
The export keyword is a protection attribute, along with private,
package, protected, and public. This means that it can be used
with the same syntax as any of those other attributes; for instance, if
creating a D header for an existing Windows DLL file, you might do
something like this:
On Saturday 19 February 2011 23:19:39 Bekenn wrote:
The export keyword is a protection attribute, along with private,
package, protected, and public. This means that it can be used
with the same syntax as any of those other attributes; for instance, if
creating a D header for an existing
Bekenn leav...@alone.com wrote in message
news:ijqffm$6lk$1...@digitalmars.com...
The export keyword is a protection attribute, along with private,
package, protected, and public. This means that it can be used with
the same syntax as any of those other attributes; for instance, if
Jonathan,
On Fri, 2011-02-18 at 17:28 -0800, Jonathan M Davis wrote:
On Friday, February 18, 2011 16:27:23 Russel Winder wrote:
As noted in my earlier email on the other list, I too got this problem.
Fromn what I can tell 1.066 and 2.051 have dmd.conf files but there is
no such thing in
On Saturday 19 February 2011 04:39:21 Russel Winder wrote:
Jonathan,
On Fri, 2011-02-18 at 17:28 -0800, Jonathan M Davis wrote:
On Friday, February 18, 2011 16:27:23 Russel Winder wrote:
As noted in my earlier email on the other list, I too got this problem.
Fromn what I can tell 1.066
1 - 100 of 149 matches
Mail list logo