I have to deal with a scenario when patients have to figure out some huge mathematical expressions. The expressions themselves are simple, i.e. They have only ordinary BODMAS fundamental ones, but the numbers that occur as operands are very large, with an accuracy of 1000 digits. I know the BigInteger class of the java.math module, but I'm looking for another way so that the calculation can take place in a quick way. Im a guy still finds his legs in java, so any pointers or advice in gthis would be a big help.
P1nG Relations
BigInteger, , , - .
, Java, BigInteger BigDecimal, . BigInteger BigDecimal . , , - .
, BigInteger.
( BigFoo), , .
BigInteger/BigFloat , , , .
, - (, , 2 ), , , .
BigInteger int, , , , , , 64 , , - , , t , ...
I am surprised that equations with 1000 digits have practical applications (with the possible exception of encryption) Could you explain what you are doing and what are your speed requirements?
Source: https://habr.com/ru/post/1726456/More articles:C # Hide the new form at the beginning - c #How to rename files in a for loop in Perl - loops$ .ajax not working properly on IE6 - javascriptTraining Graphic Development Platform for iPhone - iphonecoldfusion - odacity oracle guid - coldfusionOpenGL and the infinite position of the light? - openglShould I split a large mysql table into several? - phpHow to get the full path from the SHBrowseForFolder function? - c ++Является ли их единственным сетевым сервером asp, который может отображать тег? - htmlReinterpret float vector as an unsigned array of char and vice versa - c ++All Articles