comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » % Program caused arithmetic error: Floating illegal operand
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
% Program caused arithmetic error: Floating illegal operand [message #90935] Thu, 14 May 2015 16:39 Go to previous message
jiaxinxin is currently offline  jiaxinxin
Messages: 4
Registered: May 2014
Junior Member
I have this code :
xc=250 & yc=250 & r=170 & for i=yc-r , yc+r do print,floor(-sqrt(1.*r^2-1.*(i-yc)^2)+xc)
if charge r=185 , i get the fllowing error:
% Program caused arithmetic error: Floating illegal operand
I don't konw what to do to get rid of this error. Do you have any ideas?
[Message index]
 
Read Message
Read Message
Previous Topic: Copy file to all subfolders
Next Topic: Map an image onto a sphere

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:50:03 PDT 2025

Total time taken to generate the page: 0.00199 seconds