go-llvm / llgo

LLVM-based compiler for Go
Other
1.25k stars 81 forks source link

Form float negations by subtracting from negative zero #189

Closed pcc closed 10 years ago

pcc commented 10 years ago

Fixes the behavior in the case where the operand is zero.

axw commented 10 years ago

LGTM