logoalt Hacker News

chasil • today at 9:25 AM • 1 reply • view on HN

COBOL compilers rely on arbitrary precision, and GNU COBOL links in GNU MP to achieve it.

https://archive.ph/K2TX3


Replies

froh • today at 9:47 AM

cobol has _fixed_ arbitrary precision, BCD encoded arbitrary fixed size numbers.

they happened to use gnu MP, yes, but for cobol, dynamic arbitrary float precision or "never overflow" ints are not the point.