From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: Question on types conversions - operations
Date: Mon, 15 Jun 2009 10:40:33 +0200
Date: 2009-06-15T10:40:33+02:00 [thread overview]
Message-ID: <6e151h.kgc.ln@hunter.axlog.fr> (raw)
In-Reply-To: <b2e347bf-e147-4338-ba18-8cfeef9cea8f@d25g2000prn.googlegroups.com>
sjw a �crit :
>> With S := Speed(Float(L) / Float(T)) ? Mmmm ... not nice.
>>
Why not nice? You are performing (for good reasons) a non homogenous
operation. Therefore you go to the no-dimension world (convert to
Float), do your operation there, then return to the dimensioned world
(convert to Speed).
--
---------------------------------------------------------
J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr
next prev parent reply other threads:[~2009-06-15 8:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-13 15:51 Question on types conversions - operations Olivier Scalbert
2009-06-13 16:13 ` Robert Matthews
2009-06-13 16:55 ` anon
2009-06-13 16:58 ` Dmitry A. Kazakov
2009-06-13 16:59 ` sjw
2009-06-13 17:24 ` Martin
2009-06-13 19:35 ` sjw
2009-06-14 8:22 ` sjw
2009-06-15 8:40 ` Jean-Pierre Rosen [this message]
2009-06-15 9:30 ` Olivier Scalbert
2009-06-15 9:51 ` stefan-lucks
2009-06-15 10:33 ` AdaMagica
2009-06-15 19:37 ` sjw
2009-06-13 19:56 ` Jeffrey R. Carter
2009-06-14 15:55 ` Robert A Duff
2009-06-15 8:52 ` AdaMagica
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox