18. Multiprecision Processing and Monte Carlo Methods
This chapter discusses two important SDK libraries whose capabilities can be used in many different applications. The first is the Multiprecision Math library, or libmpm
, and the second is the Monte Carlo library, or libmc_rand
. Both libraries provide functions that generate and manipulate special kinds of numbers.
The functions in the Multiprecision Math library operate on signed and unsigned integers that, by default, can occupy up to 4096 bits. Numbers of this size are important in cryptography, number theory, and any computation requiring values larger than 64-bit long long
s. libmpm
not only contains basic arithmetic functions for multiprecision numbers, but also advanced routines for ...
Get Programming the Cell Processor: For Games, Graphics, and Computation now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.