[scilab-Users] format(): limit of the number of digits

Mike Page Mike at Page-One.Waitrose.com
Wed Feb 29 21:03:30 CET 2012


AFAIK the Scilab format is IEEE P754 double so it has about 16 digits of
precision.  There wouldn't seem to be any point trying to display more.
Maybe you need to work in long integers.  You could do this using a
structured data type to hold the various parts of the value, but it would
require a lot of work IMO.

Mike.


-----Original Message-----
From: jonas [mailto:jonathanattia at gmail.com]
Sent: 29 February 2012 19:46
To: users at lists.scilab.org
Subject: [scilab-Users] format(): limit of the number of digits


Hi everyone:

Is it possible to remove (or reduce) the limit of the number of digits (max.
25) on the "format([type],[long])"?
Indeed, I would make a primality test on "numbers calculated" to more than
25 digits (2.275088307942293793D+58).

Thank you in advance for your help.

Best Regards,
Jonas.

--
View this message in context:
http://mailinglists.scilab.org/format-limit-of-the-number-of-digits-tp378838
0p3788380.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble.com.

--
To unsubscribe from this mailing-list, please send an empty mail to
users-unsubscribe at lists.scilab.org
To check the archives of this mailing list, see
http://mailinglists.scilab.org/




More information about the users mailing list