用 dbase 语言处理任意大的整数

发布于 2024-08-29 00:36:19 字数 100 浏览 3 评论 0原文

是否有一个简单的包允许使用 xbase(即 dbase 或 Foxpro 语法)进行编程,并具有一个数据类型来存储和对任意大整数(例如 100,000 个十进制数字)执行简单的算术运算?

Is there a simple package available that permits programming in xbase ( i.e. dbase or Foxpro syntax) and has a datatype to store and perform simple arithmetical operations on arbitrarily large integers ( say 100,000 decimal digits) ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

雪化雨蝶 2024-09-05 00:36:19

你运气不好。主要问题是这些数据库可以将其存储为博客或大字符串的唯一方式 - 并且在这些基础上工作非常糟糕。不是数据库正在执行的操作的一部分。至少“简单的算术运算”很糟糕;)你真的需要那个吗?除了一些非常有限的数学场景之外,浮点数可以完美地处理 - x 相关数字基本上就是您所需要的。除非你尝试计算 100.000 位数字的 PI 的精确值或类似的值。

YOu are out of luck. THe main problem is that the only way those databases CAN store that is either as a blog or as a large string - and working on the basis of those SUCKS MAJORLY. Not part of what a database is doing. At least the "simple arithmethical operation" is bad bad bad ;) YOu really need that? Outside of some really limited mathematical scenarios float handle that perfectly - x RELEVANT digits are mostly all you need. Unless you try to calculate the exact value of PI on 100.000 digits or something like that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文