<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 03.10.2018 um 14:23 schrieb Ozz
Nixon:<br>
</div>
<blockquote type="cite"
cite="mid:CA+knxPpQTMYWgh0h=fn6_iLbJic=7nXnPpc_vuMkmBDVOs79BQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr">
<div class="gmail_default" style="font-size:large">Thank you for
explaining. Since I am needing compatibility at the disk level
(binary form)... does anyone know of a unit or some routines
to read/write: Comp, Double, Extended byte for byte the same?
(even if it translates to something different at run time or
in the dataset). If it was for the fact I maintain Halcyon
(xBase) code I would slap this all in a DB server. Which also
means my port of Accuracer (<a href="http://aidaim.com"
moz-do-not-send="true">aidaim.com</a>) is also going to have
similar problems. :-(<br>
</div>
</div>
</blockquote>
<br>
You can use FPC's softfpu unit though it is not compiled for all
targets currently. But you can copy it from
$fpcdir/rtl/inc/softfpu.pp and compiler yourself. Then you can use
the type tfloat80 which is essentially Extended on which you can
also use the operations defined in the softfpu unit (for convenience
you could add a unit with operator overloads).<br>
<br>
Please note that Double is always the same on the main platforms and
thus doesn't need special handling.<br>
<br>
Regards,<br>
Sven<br>
</body>
</html>