select leastsquares(1, 1, 1)
select leastsquares(cast(1.1 as float), 1, 1)
select leastsquares(cast(1.1 as double), 1, 1)
select leastsquares(cast(1 as tinyint), 1, 1)
select leastsquares(cast(100 as smallint), 1, 1)
select leastsquares(cast(100000 as int), 1, 1)
select leastsquares(cast(10000000000 as bigint), 1, 1)
select leastsquares(cast(1 as tinyint unsigned), 1, 1)
select leastsquares(cast(100 as smallint unsigned), 1, 1)
select leastsquares(cast(100000 as int unsigned), 1, 1)
select leastsquares(cast(10000000000 as bigint unsigned), 1, 1)
