lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Wed, 23 Feb 2011, Louis-Philippe wrote:
> > v = 1/0
> > print(v)
> inf
> not NaN?

Use v=0/0 if you want a NaN.

f.anthony.n.finch  <>
Viking, North Utsire, South Utsire, Northeast Forties: Southeasterly 7 to
severe gale 9, occasionally storm 10 in Viking. Very rough or high in Viking,
otherwise rough or very rough. Rain or snow. Moderate or good, occasionally
poor. Light icing in north and South Utsire.