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,986 of 5,127   
   pehache to All   
   Re: FRACTION() seems broken in gfortran    
   10 Sep 25 08:21:51   
   
   From: pehache.7@gmail.com   
      
   Le 09/09/2025 à 09:23, Lawrence D’Oliveiro a écrit :   
   > 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”?   
      
   Memory issues?   
      
   You wrote: "The way you describe is obviously the most natural   
   interpretation, these days. And most other languages do it that way. But   
   not Fortran."   
      
   We are still waiting what are these natural ways to get a fractional   
   part of these other languages.   
      
   >   
   >>> 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?   
      
   This is precisely the advice you have received, instead of complaining   
   that `FRACTION()` doesn't do what you thought it was doing. Memory issue   
   again?   
      
   > We *did* discuss   
   > all this in the thread, you know.   
      
   I'm not the one here that forgets what he has written in the previous   
   messages.   
      
      
   --   
   "...sois ouvert aux idées des autres pour peu qu'elles aillent dans le   
   même sens que les tiennes.", ST sur fr.bio.medecine   
   ST passe le mur du çon :    
      
   --- 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