[fpc-devel] Extended($FFFFFFFFFFFFFFFF) = -1?

Ewald ewald at yellowcouch.org
Tue Mar 4 11:33:06 CET 2014


On Mon, 3 Mar 2014 18:02:35 +0100, Jonas Maebe <jonas.maebe at elis.ugent.be>
wrote:
> On 03 Mar 2014, at 17:43, Ewald wrote:
>> 
>> Alright, that I did not know. Thanks for the info. I always assumed
>> there was an instruction FULD, but it isn't there apparently.
> 
> Nevertheless, Hans-Peter's statement is wrong. FPC can perfectly convert
> any qword value into an extended value. It's not because something
cannot
> be done using a single instruction, that it cannot be done at all.
> 

Yes, that is also why I wrote `I guess freepascal must have done this for
me`. Nonetheless it is an interesting revelation :-)

-- 
Ewald



More information about the fpc-devel mailing list