C++ author, trainer
My conjecture is the value is 262537412640768743 + 1.
My C++ Boost code gives
Probably It is.I will go over my code and increase the precision. What brings the attention of this problem is that standard library could give wrong results for particular cases, this could help to new C/C++ programmers. Best Regards Doctor Duffy, Stay at Home!My C++ Boost code gives
which is correct.
This number was discovered in 1859 by the mathematician Charles Hermite. In a 1975 April Fool article in Scientific American magazine, "Mathematical Games" columnist Martin Gardner made the hoax claim that the number was in fact an integer, and that the Indian mathematical genius Srinivasa Ramanujan had predicted it—hence its name.
Is there a way a C++ program can take advantage of a multicore processor?
That is a great machine the new one you have,Newbie question..
absolutely in C++11. threads, tasks and futures.
Discussed in my C++ 2018 book and QN Advanced C++ course.
Recommend doing some research.
Just got an 8-core machine today. What can I in heaven's name use it for? No idea.
Yes, I'm in the lap of luxury.That is a great machine the new one you have,
8 core =: 16 máximum numbers of threads.
reg instruction seems to be deprecated
I have a program that is several K of source code (MS visual Studio 2019 - Windows) I was wondering how to tell the OS my program has a priority, something like in Unix/Linux.