> On Nov 2, 2019, at 11:06 AM, Cyrax via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote: > > You need to do a explicit typecasting. > > ... > fac:=Sqrt(Sqr(TScalar(x)) + Sqr(TScalar(y))); > ... > fac:=1.0/TScalar(fac); Doesn't work. Try running the example. Regards, Ryan Joseph