Re: DConf 2013 official car/room sharing thread

2013-04-29 Thread Aldo Nunez
On Monday, 29 April 2013 at 12:28:33 UTC, deadalnix wrote: Due to last minute issue, I find myself in an hotel in mountain view. 3km/2miles away from the caltrain, so I'll need someone to grab me if that is possible. I promise to be good company on the road :D deadalnix, I can pick you up,

Re: DConf 2013 official car/room sharing thread

2013-04-28 Thread Aldo Nunez
I'll need to rent a car for the trip. So, I can pick anyone up along the way from Mountain View.

Re: Why are some casts from floating point to integral done differently

2010-03-15 Thread Aldo Nunez
bearophile Wrote: > Aldo Nunez: > > I'll file a bug, but... > > If you don't like this you can add a comment after it: > http://d.puremagic.com/issues/show_bug.cgi?id=3970 > > Bye, > bearophile Thanks, bearophile! I just did.

Re: Why are some casts from floating point to integral done differently

2010-03-15 Thread Aldo Nunez
Don Wrote: > The cast(uint) case is clearly a bug. Please file it in Bugzilla. I'll file a bug, but... > This happens because there are no built-in functions for converting from > float to unsigned. Values between int.max and uint.max need to be > treated specially. > > You're right, but wh

Why are some casts from floating point to integral done differently from others?

2010-03-14 Thread Aldo Nunez
I was testing evaluating cast expressions for a debugger I'm working on, when I came across this bit of behavior that hopefully Walter or someone else can explain. Most conversions in D from floating point to integer are done with the help of the x87 FP instructions: load FP number, store as in