Bill Allombert on Tue, 19 May 2020 10:08:55 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Float Numbers with 200 digits


On Tue, May 19, 2020 at 03:10:17AM +0100, Tiago Mendes wrote:
> Hi guys,
> 
> 
> I need to know how to represent a float number in PARI. To use integre i usually do :  
> 	
> 	GEN expoent = strtoi("1123213137")
> 
> To represent a number like 10^{-200} how should i do ? 

You can use strtor("1E-200",DEFAULTPREC)

Cheers,
Bill