Thread overview
DM C/C++ 8.46
Jan 15, 2006
Walter Bright
Jan 15, 2006
David Medlock
Jan 15, 2006
tyro[a.c.edwards]
Jan 15, 2006
Walter Bright
Jan 16, 2006
Jerry van Dijk
Jan 16, 2006
Don Clugston
Jan 23, 2006
Hakki Dogusan
Jan 23, 2006
Walter Bright
Jan 25, 2006
Hakki Dogusan
January 15, 2006
D users will be interested in the updated import libraries and uuid.lib.

http://www.digitalmars.com/changelog.html




January 15, 2006
Walter Bright wrote:
> D users will be interested in the updated import libraries and uuid.lib.
> 
> http://www.digitalmars.com/changelog.html
> 

The link for the CD upgrade is missing:
http://www.digitalmars.com/download/freecompiler.html

-DavidM
January 15, 2006
In article <dqdi4s$n10$1@digitaldaemon.com>, David Medlock says...
>
>Walter Bright wrote:
>> D users will be interested in the updated import libraries and uuid.lib.
>> 
>> http://www.digitalmars.com/changelog.html
>> 
>
>The link for the CD upgrade is missing: http://www.digitalmars.com/download/freecompiler.html
>
>-DavidM

This version of the. compiler is missing from the ftp site. Lastest version available is still 8.45.


January 15, 2006
Fixed.


January 16, 2006
> Fixed.

Actually, the CD update (cd846.zip) is still missing.

-- 
--  Jerry van Dijk
--  Leiden, Holland
--
--  In case of headache, follow the instructions on the aspirin bottle: --  "Take two tablets" and "Keep away from children".
January 16, 2006
Walter Bright wrote:
> D users will be interested in the updated import libraries and uuid.lib.
> 
> http://www.digitalmars.com/changelog.html

Thanks, Walter.

Unfortunately, the tgamma() function is still not completely right, in both DMC and DMD. It's only really accurate to double precision. Interestingly, lgamma() is correct.

With the  version of tgamma I've included in dsource.org in mathextra/etcgamma, the following test passes:

  const real SQRT_PI = 1.77245385090551602729816748334114518279754945612238L;
  assert(feqrel(etcgamma.tgamma(0.5L), SQRT_PI) == real.mant_dig);

(ie, it is corect to the full 64 bits at this point!) but

 assert(feqrel(std.math.tgamma(0.5L), SQRT_PI) == real.mant_dig);

fails -- it is correct to "only" 56 bits. I wonder if there's an inadvertant conversion to 'double' in there somewhere?

There's a certain amount of black humour in this -- it is *much* easier to get this stuff right in D, than in C. I think you should consider implementing the C library in D, rather than vice-versa <g>.

Seriously, with the known problems with NaNs in most C++ compilers, and the lack of accuracy guarantees in the C math functions, in the longer term, D is likely to better off minimising its dependence on C.
If pow() is often implemented incorrectly, there's no chance with anything more complicated.
January 23, 2006
Hi,

Walter Bright wrote:

> D users will be interested in the updated import libraries and uuid.lib.
> 
> http://www.digitalmars.com/changelog.html
> 
> 
> 
> 


Using cd847.

I'm getting "Internal error: cod2 4221".


- this specific file was compiling with cd845
  (although was taking too much time to compile)

- debug compiling is ok


Any hints?

--
Regards,
Hakki Dogusan

January 23, 2006
"Hakki Dogusan" <dogusanh@tr.net> wrote in message news:dr2e3i$20iu$1@digitaldaemon.com...
> Using cd847.
>
> I'm getting "Internal error: cod2 4221".
>
>
> - this specific file was compiling with cd845
>   (although was taking too much time to compile)
>
> - debug compiling is ok
>
>
> Any hints?

Just the usual <g>:

http://www.digitalmars.com/bugs.html



January 25, 2006
Hi,

Walter Bright wrote:
> "Hakki Dogusan" <dogusanh@tr.net> wrote in message news:dr2e3i$20iu$1@digitaldaemon.com...
> 
>>Using cd847.
>>
>>I'm getting "Internal error: cod2 4221".
>>
>>
>>- this specific file was compiling with cd845
>>  (although was taking too much time to compile)
>>
>>- debug compiling is ok
>>
>>
>>Any hints?
> 
> 
> Just the usual <g>:
> 
> http://www.digitalmars.com/bugs.html
> 
> 
> 

I tried a little "the usual way", not succedeed.

Then changed compile switch from "-o+space" to "-o" and
problem is solved!

--
Regards,
Hakki Dogusan