From: Gautier Write-only <gautier@fakeaddress.nil>
Subject: Re: redefinition of the operator
Date: Sun, 20 Nov 2005 22:29:51 +0100
Date: 2005-11-20T22:29:51+01:00 [thread overview]
Message-ID: <4380EACF.DE432269@fakeaddress.nil> (raw)
In-Reply-To: pan.2005.11.20.12.16.12.433083@virgilio.it
Francesco Bochicchio:
> It is not exactly a cheap solution, since I need to replace the standard
> operators in existing software (about 20000 DSI) and this mean to
> change long_float with My_Real in most of it, but I guess with some
> automated search/replace I could do it.
While you are at this, I suggest to make a generic package around your My_Real.
No run-time penalty with that approach on good compilers, and so you
can obtain your redifined operators with several precisions without effort.
______________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm
TeXCAD -- http://www.mysunrise.ch/users/gdm/texcad.htm
NB: For a direct answer, e-mail address on the Web site!
next prev parent reply other threads:[~2005-11-20 21:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-20 8:49 redefinition of the operator Francesco Bochicchio
2005-11-20 10:50 ` Dmitry A. Kazakov
2005-11-20 12:16 ` Francesco Bochicchio
2005-11-20 13:27 ` Dmitry A. Kazakov
2005-11-20 21:29 ` Gautier Write-only [this message]
2005-11-21 14:23 ` Jean-Pierre Rosen
2005-11-20 11:12 ` Martin Krischik
2005-11-20 12:23 ` Francesco Bochicchio
2005-11-21 14:26 ` Jean-Pierre Rosen
2005-11-21 14:40 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox