comp.lang.ada
 help / color / mirror / Atom feed
From: Martin <martin.dowie@btopenworld.com>
Subject: Re: Conversion from floating point to signed 16 bits
Date: Wed, 20 May 2009 08:23:09 -0700 (PDT)
Date: 2009-05-20T08:23:09-07:00	[thread overview]
Message-ID: <14718292-2ea8-4c22-8cf6-47671490976d@b1g2000vbc.googlegroups.com> (raw)
In-Reply-To: CbVQl.110023$DP1.47550@attbi_s22

On May 20, 4:18 pm, "Jeffrey R. Carter"
<spam.jrcarter....@nospam.acm.org> wrote:
> Martin wrote:
>
> > Or better - just use package Interfaces instead...
>
> No. Interfaces.Unsigned_16 is a modular type. The OP's Unsigned_16 is a signed
> integer type.
>
> --
> Jeff Carter
> "English bed-wetting types."
> Monty Python & the Holy Grail
> 15

So it is!!

A rather poorly named type then...tricky to think of a better name
though - perhaps the Interfaces names should have been Modular_16 /
etc. Too late now...back to Int16 and Uint16 it is then...

Cheers
-- Martin



  reply	other threads:[~2009-05-20 15:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-19 18:51 Conversion from floating point to signed 16 bits Olivier Scalbert
2009-05-19 19:37 ` Adam Beneschan
2009-05-19 19:57   ` Jeffrey R. Carter
2009-05-19 22:36     ` Adam Beneschan
2009-05-19 19:55 ` Jeffrey R. Carter
2009-05-19 20:06 ` Ludovic Brenta
2009-05-19 22:08   ` Olivier Scalbert
2009-05-20  8:29 ` Stuart
2009-05-20  8:48   ` Stuart
2009-05-20 11:11 ` Georg Bauhaus
2009-05-20 12:06   ` Martin
2009-05-20 15:18     ` Jeffrey R. Carter
2009-05-20 15:23       ` Martin [this message]
2009-05-20 15:47         ` Adam Beneschan
2009-05-20 16:13           ` Martin
replies disabled

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