Export to GitHub

grub4dos-chenall - issue #114

Enhancement: use decimal unsigned arithmetic in set command


Posted on Feb 14, 2013 by Happy Kangaroo

What steps will reproduce the problem?

set /a x=0xb000000 set /A y=0xb000000 set /a z=29527900016 set

x=-1073741924 (29527900016 is output to console by the set command!) y=0xB000000 (correct) z=-1073741924 (29527900016 is output to console by the set command!)

Should be: x=29527900016
y=0xB000000
z=29527900016

What version of the product are you using? On what operating system? recent

Please provide any additional information below.

maybe have a set /ua switch for unsigned arithemetic?

Comment #1

Posted on Mar 3, 2013 by Happy Hippo

The new may be fixed.

Comment #2

Posted on Mar 3, 2013 by Happy Kangaroo

set /a z=23 / 0 hangs CPU in 2013-03-03 !!!

Comment #3

Posted on Mar 3, 2013 by Happy Kangaroo

also in previous versions like 2013-02-02.

Comment #4

Posted on Mar 4, 2013 by Happy Hippo

divide by zero error. try next version.

Comment #5

Posted on Mar 11, 2013 by Happy Hippo

(No comment was entered for this change.)

Status: Done

Labels:
Type-Defect Priority-Medium