Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Richard Ashbery Newsgroups: comp.sys.acorn.programmer Subject: Re: Sine/Cosine/Tangent accuracy error Date: Sun, 24 Feb 2019 12:20:36 +0000 (GMT) Organization: None Lines: 22 Message-ID: <578b5821dfbasura@invalid.addr.uk> References: <578aeb07c9basura@invalid.addr.uk> <578b034766basura@invalid.addr.uk> X-Trace: individual.net Dg9ah+egJAbEbFAbGgfhvg7vzKLgGGWxNwfDkfFl72CW2kEC0I X-Orig-Path: uwclub.net!richard.ashbery Cancel-Lock: sha1:9BSGSI0Tr2gf5JYWbkFsR6mjzAE= User-Agent: Pluto/3.16 (RISC OS/5.25) NewsHound/v1.52-32 Xref: csiph.com comp.sys.acorn.programmer:5696 In article , Steve Fryatt wrote: > On 23 Feb, Richard Ashbery wrote in message > <578b034766basura@invalid.addr.uk>: > > I've checked it again and sure enough it exceeds the radians > > limit of BASIC. The problem I now have is to edit the code > > without stalling the graphic animation but there must be a way. > Angles wrap around at 2*PI radians, so if you're getting into the > millions of radians, you're probably doing something wrong in the > approach to working out the numbers. Without knowing what you're > doing, it's hard to be more specific, unfortunately. Hi Steve Many thanks for coming back. In the rush to animate I missed the line to terminate the number of radians. If I fail to get any further I'll post the program. Richard