Afficher un message
Vieux 08/02/2008, 14h50   #4
Hans Mull
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: any simple class for rational numbers?

Juha Nieminen schrieb:
> Leslaw Bieniasz wrote:
>> I need a simple class implementing rational numbers
>> as fractions of integers, together with arithmetic
>> operations on such fractions, checks for overflow, etc.
>> Any suggestions?

>
> I think that in the time it took you to write this and the time it
> will take for someone to write an useful answer, you could have written
> such a simple class yourself... :P

Maybe he has some special requirements, like a very efficient libary or
arbitrary precision support...
  Réponse avec citation
 
Page generated in 0,04948 seconds with 9 queries