summaryrefslogtreecommitdiffhomepage
path: root/src/error.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-07-05 17:48:40 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-07-05 17:48:40 +0900
commitb643a1a8bc89b7898d05dc2e26d87f708a5edc32 (patch)
treee0bc54c35bcc3e94bc8574f9cb6525586675d75e /src/error.c
parentbd66c5d716eed470957a90bd2851292165550ee1 (diff)
downloadmruby-b643a1a8bc89b7898d05dc2e26d87f708a5edc32.tar.gz
mruby-b643a1a8bc89b7898d05dc2e26d87f708a5edc32.zip
In Ruby, `sprintf` specifier `%u` should behave as `%d`; fix #3730
Since there's no unsigned integer in Ruby. Binary, octal and hexadecimal negative numbers can be represented by using 2's compliment. But decimal (not being power of 2) cannot be use that kind of format.
Diffstat (limited to 'src/error.c')
0 files changed, 0 insertions, 0 deletions