Advertisement
Guest User

Untitled

a guest
Jan 9th, 2015
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Genero 0.61 KB | None | 0 0
  1. # LC_NUMERIC=nl_NL.UTF-8
  2.  
  3. (gdb) info locals
  4. resize = 0,5
  5. xpos = 0
  6. ypos = 0
  7. (gdb) whatis resize
  8. type = double
  9. (gdb) print resize
  10. $1 = 0,5
  11. (gdb) print 0,5
  12. $2 = 5
  13. (gdb) print 0.5
  14. Invalid number "0.5".
  15. (gdb) print 0.5f
  16. Invalid number "0.5f".
  17. (gdb) print (double)0,5
  18. $3 = 5
  19. (gdb) print (double)0,5 + 2
  20. $4 = 7
  21.  
  22. # LC_NUMERIC=en_US.UTF-8
  23.  
  24. (gdb) info locals
  25. resize = 0.5
  26. xpos = 0
  27. ypos = 0
  28. (gdb) whatis resize
  29. type = double
  30. (gdb) print resize
  31. $1 = 0.5
  32. (gdb) print 0,5
  33. $2 = 5
  34. (gdb) print 0.5
  35. $3 = 0.5
  36. (gdb) print 0.5f
  37. $4 = 0.5
  38. (gdb) print (double)0,5
  39. $5 = 5
  40. (gdb) print (double)0,5 + 2
  41. $6 = 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement