home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.fortran      Putting John Backus on a giant pedestal      5,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,775 of 5,127   
   Steven G. Kargl to Lawrence D'Oliveiro   
   Re: Angle Units For Trig Functions   
   22 Oct 24 07:14:22   
   
   From: sgk@REMOVEtroutmask.apl.washington.edu   
      
   On Tue, 22 Oct 2024 04:26:59 +0000, Lawrence D'Oliveiro wrote:   
      
   > On Sun, 20 Oct 2024 05:35:25 -0000 (UTC), Steven G. Kargl wrote:   
   >   
   >> % gfcx -o z a.f90 && ./z 0.500000000      0.500089288   
   >>   
   >> One of these values is exact, and one of these raises FE_INEXACT.   
   >   
   > Does it work for 29° and 31° as well? What’s so special about 30°?   
      
   Really?  This is high school trig.   
      
   For units of degree, mathematically sin(30) = 1/2, exactly!.   
   sin(30+n*360) = 1/2 is also exact.   
      
   --   
   steve   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca