Precision of Number
LingWitt@insightbb.com
LingWitt@insightbb.com
Thu, 19 Jun 2003 11:34:57 -0400
--Apple-Mail-2-420286300
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Consider the following:
mpf_init2(m, 2000);
mpf_set_str(m, "2.0", 10);
printf("%d", m->_mp_size);
This says that m has 65 limbs, which is of course unsatisfactory. How
can I scale the size to the minimum number of limbs so as to avoid
bloating? Thanks.
--Apple-Mail-2-420286300
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
charset=US-ASCII
Consider the following:
<fixed>mpf_init2(m, <color><param>0000,0000,FFFF</param>2000</color>);
mpf_set_str(m, <color><param>8989,1313,1515</param>"2.0"</color>,
<color><param>0000,0000,FFFF</param>10</color>);
printf(<color><param>8989,1313,1515</param>"%d", m->_mp_size</color>);</fixed>
This says that m has 65 limbs, which is of course unsatisfactory. How
can I scale the size to the minimum number of limbs so as to avoid
bloating? Thanks.
--Apple-Mail-2-420286300--