[perl #37993] [BUG] optimized parrot behaves differently than non-optimized (win32-msvc)

jerry gay jerry.gay at gmail.com
Thu Feb 5 18:59:36 UTC 2009


On Thu, Feb 5, 2009 at 10:44, Reini Urban via RT
<parrotbug-followup at parrotcode.org> wrote:
> On Thu Jan 29 06:05:13 2009, Whiteknight wrote:
>> On Wed Dec 24 05:39:54 2008, Whiteknight wrote:
>> > On Tue Dec 23 19:02:17 2008, jkeen at verizon.net wrote:
>> > > On Sat Jun 14 17:15:32 2008, jkeen at verizon.net wrote:
>> > > > Would it be possible to test Parrot on Win32 non-optimized and
>> optimized
>> > > > so as to see whether this is still a bug?
>
> This neg -0 => 0 error is observable on msvc and mingw.
>
> It is caused by the msvcrt.dll (aka the libc) for windows and is
> therefore parrot and compiler independent.
> cygwin is not affected, since newlib has this correct.
>
> We could work around it in the op for neg (DWIM) or keep it
> as expected platform semantics.
> I would vote for platform unity, and fix the neg -0 case.

+1 for fixing -0 to work the same everywhere.
~jerry


More information about the parrot-dev mailing list