23,148,855,308,184,500是一个神奇的数字,还是纯粹的机会? [英] Is 23,148,855,308,184,500 a magic number, or sheer chance?

查看:99
本文介绍了23,148,855,308,184,500是一个神奇的数字,还是纯粹的机会?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新闻报道,例如表示以上数字可能是由于编程错误引起的.

News reports such as this one indicate that the above number may have arisen as a programming bug.

一个美国男人突然冒出来 去他当地的加油站买一辆 一包香烟-才发现他的 卡收取$ 23,148,855,308,184,500.

A man in the United States popped out to his local petrol station to buy a pack of cigarettes - only to find his card charged $23,148,855,308,184,500.

那是23万亿美元(14英镑) 四分位数)-美国很多次 国家债务.*

That is $23 quadrillion (£14 quadrillion) - many times the US national debt.*

用十六进制表示的是$ 523DC2E199EBB4,乍一看似乎并不十分有趣.

In hex it's $523DC2E199EBB4 which doesn't appear terribly interesting at first sight.

任何人都对导致此错误的编程错误有任何想法?

Anyone have any thoughts about what programming error would have caused this?

推荐答案

在数字中加分,您将获得2314885530818450000,其十六进制为2020 2020 2020 1250.

Add the cents to the number and you get 2314885530818450000, which in hexadecimal is 2020 2020 2020 1250.

您看到图案了吗?前六个字节已被空格覆盖(十六进制20,十月32).

Do you see the pattern? The first six bytes have been overwritten by spaces (hex 20, dec 32).

这篇关于23,148,855,308,184,500是一个神奇的数字,还是纯粹的机会?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆