home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 136 
 Dr J R Stockton to All 
 Re: exp bug in Virtual Pascal and bpl70v 
 17 Jan 11 22:39:37 
 
p.lang.pascal.borland:413
From: Dr J R Stockton 

In comp.lang.pascal.borland message <4D335166.40608@prino.org>, Sun, 16
Jan 2011 20:13:26, Robert AH Prins  posted:

>So far I am unable to reproduce this problem. I don't have a working
>Pascal installation anymore, so I tried with inline assembler inside
>Microsoft C. Maybe I don't have quite the right input operand. What is
>the byte pattern (10 bytes) for x (i.e. 20.0 + 0.7944154167983592825)
>that Pascal produces ?

I have JavaScript forms to answer that FOR SINGLE AND DOUBLE ONLY at
.  I could think about
extending them to EXTENDED, but, as I didn't do it at the time, there
may be a difficulty - yes, there is.

A Web search for John Herbster (JohnH) might locate something useful.

Come to think of it, try in
 which lists and
links
        floatval.pas    floatval.exe    (BP7 DOS mode)
        sixbytes.pas
        tenbytes.pas
though I don't recall what they do (but I can compile them).

OTOH, maybe you only need a compiler and a cast to array of byte.

-- 
 (c) John Stockton, nr London UK.  ?@merlyn.demon.co.uk  Turnpike v6.05  MIME.
     TP/BP/Delphi/&c., FAQqy topics & links;
       RAH Prins : c.l.p.b mFAQ;
     Timo Salmi's Turbo Pascal FAQ.

--- Internet Rex 2.31
 * Origin: The gateway at Omicron Theta (1:261/20.999)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca