wrengr / logfloat

Log-domain floating point numbers
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

product chokes on zero #3

Closed davidar closed 7 years ago

davidar commented 7 years ago
$ Data.Number.LogFloat.product [logFloat 0, logFloat 1]
logFloat NaN
$ Data.List.product [logFloat 0, logFloat 1]
logFloat 0.0