|
|
On 15/10/2024 16:10, Bald Eagle wrote:
> In the meantime:
> Can you try a simple "scene" where you try to take the sqrt of 0, N/0, and 0/0?
Sure :
#debug "Begin -------------\n"
#declare a = sqrt(0);
#debug concat("sqrt(0) = ",str(a,0,-1),"\n")
#declare b = sqrt(1/0);
#debug concat("sqrt(1/0) = ",str(b,0,-1),"\n")
#declare c = sqrt(0/0);
#debug concat("sqrt(0/0) = ",str(c,0,-1),"\n")
#debug "End-----------------\n"
#error "nothing to draw"
Output :
Begin -------------
sqrt(0) = 0.000000
sqrt(1/0) = inf
sqrt(0/0) = inf
End-----------------
Parse Warning: Divide by zero.
Parse Warning: Divide by zero.
--
Kurtz le pirate
Compagnie de la banquise
Post a reply to this message
|
|