|
|
Wasn't it Alain who wrote:
>Mike Williams nous apporta ses lumieres en ce 14/03/2006 11:07:
>>
>>>Hi NG
>>>I have a ugly problem with "String to long"
>>>I cant see ho to makes any long strings...
>>
>>
>> If you need those really huge numbers you can use scientific notation
>>
>> #local lgt1_intense = 17976900000000001e293;
>>
>> (I think it's e293. I might have lost count)
>>
>i don't think that any PC can deal with values THAT large! The FPU just can't
>deal with that.
The FPU might not deal with that, but POV-Ray will quite happily parse
scene files that use such numbers. I did check that the POV parser
accepts the line
#local lgt1_intense = 17976900000000001e293;
before I posted and the scene runs normally. I didn't ask POV to
actually do any arithmetic with the value, that would probably fail
depending on the details of that arithmetic.
E.g. str(lgt1_intense,-1,-1) returns "1.#INF00"
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|