用于Delphi的快速BigFloat单元 [英] Fast BigFloat unit for Delphi
问题描述
我已经尝试过这个单元,但它比标准慢约1000倍扩展操作。
那么,有没有人知道Delphi的FastFlat(呃)BigFloat单元?
Henry
总结OP的问题的意见。
AC库可能是大型浮点库的最佳解决方案。 p>
GMP 声称是最快的免费库,通过汇编和自1991年以来成立。
使用这个的Delphi包装器为GMP库。
为了更快的速度与合理的成本/努力,CUDA / GPU解决方案将完成这项工作。
有正在进行的工作,但是找不到最终解决方案。
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
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.
这篇关于用于Delphi的快速BigFloat单元的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!