Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!uunet!ingr!b11!doyle From: doyle@b11.ingr.com (Doyle Davidson) Newsgroups: comp.windows.x Subject: Re: Application program strange error Message-ID: <6672@b11.ingr.com> Date: 22 Nov 89 22:21:59 GMT References: <193@hal.CSS.GOV> Organization: Intergraph Corp. Huntsville, AL Lines: 34 In article <193@hal.CSS.GOV>, nancie@hal.CSS.GOV (Nancie Matson) writes: > but every time I run the program I get > asin: DOMAIN error > printed to the console window. > > Does anyone have any thoughts about this error. I have seen this before and as best I can remember, it occurs in lines with join style = JoinRound and line width of 1 (might have happened with width=0 too but I don't think so). There is some code in the round end cap routine that does something like: foo = width / 2; ... val = asin(1.0 / foo); And for width of one this produces asin(1.0 / (1/2)) == asin(2.0) !!! Try changing your line width or join style and see if it goes away. If not, then it's something else! Doyle ------------------------------------------------------------------ Doyle C. Davidson | Intergraph Corp. | These comments are... Workstation Graphics Standards | 1 Madison Industrial Park | Huntsville, AL 35806 | (205) 772-2000 | X-clusively my own. | ..!uunet!ingr!b11!doyled!doyle | ------------------------------------------------------------------