Re: [9fans] Conversion of constants in C compiler

2022-05-01 Thread adr

it's synced.

Nice.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T22754f10b241991c-Mdbeaa9de34cf64c195becdec
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Conversion of constants in C compiler

2022-05-01 Thread adr

I think this gets the condition slightly wrong. For a decimal
number, we should promote:

   int -> long -> vlong.


Yeah, i was thinking
   int -> long -> vlong -> uvlong
when I wrote that, nice catch!

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T22754f10b241991c-Mba95b4da9927e1dd42b446b3
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription