适用于Delphi的快速BigFloat单元(Fast BigFloat unit for Delphi)

编程入门 行业动态 更新时间:2024-10-25 10:25:07
适用于Delphi的快速BigFloat单元(Fast BigFloat unit for Delphi)

我正在寻找一个快速的BigFloat单元,它可以处理加法,减法,乘法和除法(日志很好,但不是必需的),并且其精度至少为100位小数。 我试过这个单元,但它比标准的扩展操作慢了大约1000倍。 那么,有没有人知道Delphi的快速(呃)BigFloat单元?

亨利

I'm looking for a fast BigFloat unit, which can deal with addition, subtraction, multiplication and division (log would be fine but isn't necessary) and which has a precision of at least 100 decimal places. I've tried this unit, but it's about 1,000 times slower than standard extended operations. So, does anyone know a fast(er) BigFloat unit for Delphi?

Henry

最满意答案

总结对OP问题的评论。

AC库可能是大型浮点库的最佳解决方案。

GMP声称是最快的免费图书馆,自1991年以来一直通过装配进行优化。

将此 Delphi包装器用于GMP库。

为了以更快的速度和合理的成本/精力,CUDA / GPU解决方案可以完成这项工作。 有工作正在进行,但我找不到最终的解决方案。

To summarize the comments to the OP's question.

A C library is probably the best solution for a big floating point library.

GMP claims to be the fastest free library, optimized with assembly and established since 1991.

Use this Delphi wrapper for the GMP library.

For even faster speed with reasonable cost/effort a CUDA/GPU solution would do the job. There are work going on, but I could not find a finalized solution.

更多推荐

本文发布于:2023-04-27 23:36:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1329649.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:适用于   单元   快速   Delphi   BigFloat

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!