Re: Wrapper class or function (10 bytes to double).

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"L. Spiro" <LSpiro@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:920B76BD-F118-4D3C-9DA4-08CCE07943DF@xxxxxxxxxxxxxxxx
> In the past people have posted their own projects here (upon request) that
do
> whatever the request requests, and usually these are not things you will
find
> on Google.
>
>
> I am hoping someone has written a function that converts from 10 bytes (an
> 80-bit double, accepted as an array of 10 bytes in the parameter list) and
> returns a double.
>
> I found one in C# and converted it to C++ (the language I need it to be) but
> it mostly returns, which I know is not correct.
>
>
>
> But it was the only function I could find on Google that does this
> conversation.
>
> So, I am hoping someone has written something like this, or knows where I
> could find something.

All it takes is a single FLD instruction with the correct addressing mode
and data type. Off hand I don't know the exact form you need (when I've done
it I wasn't using MSVC).

--
-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-gchanson@xxxxxxxx

.



Relevant Pages

  • [Article] U.S. Limits Demands on Google
    ... on Tuesday that he intended to approve at least part of that request. ... The government first subpoenaed Web data from Google last August, ... At a hearing in Federal District Court here, Judge James Ware said ... The government is now requesting a sample of 50,000 Web site addresses ...
    (alt.internet.search-engines)
  • Re: OT:G20 summit a supreme success
    ... just a request by the secret service. ... You tell me Obama could make a request like that and get away with it. ... Fish in a barrel, as it were. ... Google it, Einstein. ...
    (alt.smokers.cigars)
  • Re: OT:G20 summit a supreme success
    ... just a request by the secret service. ... You tell me Obama could make a request like that and get away with it. ... My point was it made the DVD player issue seem ... Google it, Einstein. ...
    (alt.smokers.cigars)
  • Re: Diagnosen
    ... We have received your request to remove the messages below from the Google ... The Google Groups Team ...
    (de.sci.medizin.psychiatrie)
  • Google Issue Help
    ... I know that this request is not hardware related but I am running out ... Every time I try to log in to my Google Groups I have to ... similar to automated requests from a computer virus or spyware ... Current virus checker and spyware remover software is ...
    (alt.comp.hardware.pc-homebuilt)