| Deutsch English Français Italiano |
|
<vqafq0$2jbji$6@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: alt.folklore.computers,comp.os.linux.misc Subject: Re: The joy of FORTRAN Date: Wed, 5 Mar 2025 21:30:40 -0000 (UTC) Organization: A noiseless patient Spider Lines: 11 Message-ID: <vqafq0$2jbji$6@dont-email.me> References: <59CJO.19674$MoU3.15170@fx36.iad> <j6KwP.62410$OrR5.58268@fx18.iad> <tcmcnTfrnOhGnFn6nZ2dnZfqn_GdnZ2d@giganews.com> <vB5xP.126521$eNx6.22176@fx14.iad> <vq2scj$144$1@reader1.panix.com> <wwveczb7tll.fsf@LkoBDZeT.terraraq.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 05 Mar 2025 22:30:40 +0100 (CET) Injection-Info: dont-email.me; posting-host="ccde15c8b30be8b462a3deae2fb7e66d"; logging-data="2731634"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GsUjxAYzI7zVkwZomkWoR" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:3vZH7yWjVS2uGY8angZJR2MbFV8= Bytes: 1725 On Wed, 05 Mar 2025 08:46:30 +0000, Richard Kettlewell wrote: > Incidentally, in C, when dealing with large integers, each arithmetic > operations is a function call; “Y=X+((R-X)%(2*r1*r2))” gets a lot > wordier when all the variables can be hundreds or thousands of bits > long. Out of curiosity, is it still worth using C when doing large-magnitude integer arithmetic? At that point, so much of the CPU time is being spent in the arithmetic operations, would it be easier (and not much slower) to use a language like Python, which has large-magnitude integers built-in?