On Dez 08 2020, Greg Wooledge wrote:

> On Tue, Dec 08, 2020 at 09:47:05AM +0100, Andreas Schwab wrote:
>> On Dez 07 2020, Testing Purposes wrote:
>> 
>> > From an integer standpoint, I know that 08 (with one leading zero) is the
>> > same as 8.
>> 
>> Nope, it is a syntax error.
>
> In a bash math context or in C, 08 is indeed a syntax error, as it is
> an octal integer constant with an invalid digit ("8").
>
> In mathematics, 08 is just 8.

This is all about C, so mathematics don't come into play.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to