'-------------------------------------\\
Option TargetCPU zx1281e
Option ExtRamConfig On
Option PortPinEncoding Off
Option TaskStackMargin 12
Option RamSize 64*1024-Register.RamStart
'-------------------------------------//
'-------------------------------------\\
public const a as single = 4.0
public const b as integer = 100
'-------------------------------------//
Public Sub Main()
debug.print csng(a) * csng(b)
End Sub
Changing "csng(a)" to "a" fixes the issue. Of course, I am accidentally casting a single to a single in the example above, and that is what leads to the error.