From: "Richard Charts" <richard.charts@gmail.com>
Subject: Convert Unsigned_32 to Ieee_Float_32
Date: 26 Oct 2006 10:33:08 -0700
Date: 2006-10-26T10:33:08-07:00 [thread overview]
Message-ID: <1161883988.538024.321940@b28g2000cwb.googlegroups.com> (raw)
Well I ran into a fun error today.
Apparently on Green Hills,
Interfaces.Unsigned_32( [Some Item of Type Interfaces.Ieee_Float_32])
causes a compiler error.
C:\DOCUME~1\...\LOCALS~1\Temp\gh_lk1.s 2212: lwz f29,112(sp)
C:\DOCUME~1\...\LOCALS~1\Temp\gh_lk1.s 2212: ----^-
C:\DOCUME~1\...\LOCALS~1\Temp\gh_lk1.s 2212: expected register
So just to get my project compiling, I substituted:
Interfaces.Unsigned_32'Value(Interfaces.Ieee_Float_32'Image(Real_Obj.Resolution))
But that's a rather expensive convertion.
Can anyone recommend a better way until, I find a way around the above
error?
Thanks.
next reply other threads:[~2006-10-26 17:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-26 17:33 Richard Charts [this message]
2006-10-26 21:19 ` Convert Unsigned_32 to Ieee_Float_32 Ian Caldwell
2006-10-26 22:03 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox