comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Looking For Simple Routine To Put Integer Into Float
Date: Mon, 24 May 2010 22:47:19 -0400
Date: 2010-05-24T22:47:19-04:00	[thread overview]
Message-ID: <82typw8zpk.fsf@stephe-leake.org> (raw)
In-Reply-To: 570f8963-82ba-42b9-981f-0f92e59161b3@a2g2000prd.googlegroups.com

ChristopherL <clusardi2k@aol.com> writes:

> Can you modify the below code to convert an integer variable of 32
> bits to a variable of type float.
>
> 
>
> A_Float := Float (An_Unknown_Integer);

This answers your question as asked; it converts any integer type to the
Float type.

Perhaps you want to ask something else?

-- 
-- Stephe



  parent reply	other threads:[~2010-05-25  2:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <570f8963-82ba-42b9-981f-0f92e59161b3@a2g2000prd.googlegroups.com>
2010-05-24 22:53 ` Looking For Simple Routine To Put Integer Into Float Ludovic Brenta
2010-05-24 23:05 ` Jeffrey R. Carter
2010-05-25  2:47 ` Stephen Leake [this message]
2010-05-25 16:34   ` mockturtle
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox