Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # LC_NUMERIC=nl_NL.UTF-8
- (gdb) info locals
- resize = 0,5
- xpos = 0
- ypos = 0
- (gdb) whatis resize
- type = double
- (gdb) print resize
- $1 = 0,5
- (gdb) print 0,5
- $2 = 5
- (gdb) print 0.5
- Invalid number "0.5".
- (gdb) print 0.5f
- Invalid number "0.5f".
- (gdb) print (double)0,5
- $3 = 5
- (gdb) print (double)0,5 + 2
- $4 = 7
- # LC_NUMERIC=en_US.UTF-8
- (gdb) info locals
- resize = 0.5
- xpos = 0
- ypos = 0
- (gdb) whatis resize
- type = double
- (gdb) print resize
- $1 = 0.5
- (gdb) print 0,5
- $2 = 5
- (gdb) print 0.5
- $3 = 0.5
- (gdb) print 0.5f
- $4 = 0.5
- (gdb) print (double)0,5
- $5 = 5
- (gdb) print (double)0,5 + 2
- $6 = 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement