I am trying to achieve arbitrary precision for the C++ program below. It works
only to about two digits (integer 50) on the C++ compiler I used a few days ago.
I am trying to implement the MAPM arbitrary precision library for 300000000
(three hundred million) digits. Any other method or precision greater than
200000 (two hundred thousand) digits will be helpful, but the one below is
best, unless a better method can...
User Profile
Collapse
-
Arbitrary Precision for C++ Program
-
Thank you for your answer. -
Converting A Basic Program to A C++ Program
I wrote the following program in Basic. It works in Basic, but I cannot get it
converted to C++. Any help in that direction will be appreciated. The values for
a, S, and R can be changed.
a=3
for S=1 to 5 step 2
R=2
N=((2^R)*S)+1
if int(((a^S)-1)/((2^R)*S+1))=(( a^S)-1)/N then print "yes"; "S="; S; "R="; R; "a="; a else print "no"
... -
-
Converting from One Computer Programming Language to Another
Are there any free or inexpensive applets that can convert Basic to C++ that can be used on Windows? -
-
How do I divide integers that equal float C?
I tried the program below to divide integers by integers (a, n, h etc. below) that equal C, but it does not divide correctly. Someone told me that "float C=float();" should have an epsilon somewhere. The computer language is C++. Can you tell me how to program it so it will divide properly?
#include<iostre am>
#include<string >
#include<iomani p>
#include<math.h >
#include<stdio. h>...
No activity results to display
Show More
Leave a comment: