linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* writing to a floating point register ?
@ 2003-02-05 10:17 Sven Luther
  2003-02-05 10:28 ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Sven Luther @ 2003-02-05 10:17 UTC (permalink / raw)
  To: linux-fbdev-devel

Hello, ...

while writing a fbdev driver, i need to write a value to a floating
point register. Do we have any macro doing this, or should i need to
calculate the sign, mantissa and exponent by hand ?

Just doing a unsigned int cast would round the value i think, and thus
not give the right result.

Friendly,

Sven Luther


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-05 12:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-05 10:17 writing to a floating point register ? Sven Luther
2003-02-05 10:28 ` Geert Uytterhoeven
2003-02-05 10:38   ` Sven Luther
2003-02-05 10:44     ` Geert Uytterhoeven
2003-02-05 11:02       ` Sven Luther
2003-02-05 12:04       ` Sven Luther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).