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,978 of 5,127   
   Lawrence =?iso-8859-13?q?D=FFOlivei to pehache   
   Re: FRACTION() seems broken in gfortran    
   09 Sep 25 07:23:54   
   
   From: ldo@nz.invalid   
      
   On Tue, 9 Sep 2025 08:09:12 +0200, pehache wrote:   
      
   > Le 09/09/2025 à 00:16, Lawrence D’Oliveiro a écrit :   
   >>   
   >> Python doesn’t have a fraction() function as such,   
   >   
   > Neither any of the other languages. In contrast to your initial   
   > assertion.   
      
   WHAT “initial assertion”?   
      
   >> but it does have modf   
   >> , which is   
   >> documented as returning “the fractional and integer parts” of its   
   >> argument.   
   >   
   > Which is a behavior that you can hardly guess without reading the   
   > doc, same as `FRACTION()` in Fortran.   
      
   Maybe check the actual Fortran docs and behaviour? We *did* discuss   
   all this in the thread, you know.   
      
   --- 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