Hi list,

Just a noob question, I was wondering if anyone could tell me why expressions 
don't support the order of operations? I've been reading the manual but 
couldn't see anything ... 


example output:
[0x00404834]> ? 4*3+3
15 0xf
[0x00404834]> ? 3+4*3
21 0x15
[0x00404834]> ? 3+(4*3)
15 0xf

So it looks like brackets are evaluated first but multiplication/division 
aren't evaluated before addition/subtraction ... it was a little confusing when 
basic maths wasn't calculating as expected


thanks
_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

Reply via email to