comp.lang.ada
 help / color / mirror / Atom feed
From: Petter Fryklund <petter.fryklund@atero.se>
Subject: Re: Converting 64 bit float to record containing a record of one 32 bit integer and one 32 unsigned.
Date: Fri, 1 Dec 2017 01:24:36 -0800 (PST)
Date: 2017-12-01T01:24:36-08:00	[thread overview]
Message-ID: <6002f2d2-71da-4cc1-aae4-c1de68ef2694@googlegroups.com> (raw)
In-Reply-To: <6488d44e-1ea7-47bc-8d01-ab571677b6a5@googlegroups.com>

Please don't waste time!

This was actually fun to implement! I created my own float2hex. This was possible since I could work with the Integer part only (Float'Floor) looping (taking the remainder after division by 16 and filling a string(1..15) backwards). Might be a coding practice for learners.

Regards,
Petter

  reply	other threads:[~2017-12-01  9:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-01  6:38 Converting 64 bit float to record containing a record of one 32 bit integer and one 32 unsigned Petter Fryklund
2017-12-01  9:24 ` Petter Fryklund [this message]
2017-12-01 11:33   ` Jeffrey R. Carter
2017-12-01 12:32     ` Petter Fryklund
2017-12-01 16:39       ` Jeffrey R. Carter
2017-12-05  7:55         ` Petter Fryklund
replies disabled

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