aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/float.txt
AgeCommit message (Collapse)Author
2021-01-19compiler: test float to int conversions and fix upper-bound calculationNia Weiss
2021-01-16compiler: saturate float-to-int conversionsNia Weiss
This works around some UB in LLVM, where an out-of-bounds conversion would produce a poison value. The selected behavior is saturating, except that NaN is mapped to the minimum value.
2020-10-28compiler: implement negate for complex numbersAyke van Laethem
2019-05-11compiler: implement complex divisionAyke van Laethem
This is hard to do correctly, so copy the relevant files from the Go compiler itself. For related discussions: * https://github.com/golang/go/issues/14644 * https://github.com/golang/go/issues/29846
2019-05-11compiler: implement complex multiplicationAyke van Laethem
2019-05-11compiler: add support for complex add and subAyke van Laethem
This is fairly trivial to add and follows the implementation of gc: https://github.com/golang/go/blob/170b8b4b12be50eeccbcdadb8523fb4fc670ca72/src/cmd/compile/internal/gc/ssa.go#L2179-L2192
2018-11-03compiler: fix float <-> int conversionsAyke van Laethem
2018-10-22compiler: add complex manipulationAyke van Laethem
* builtins: real, imag, complex * printing of complex numbers No support for complex arithmetic yet.
2018-09-29main: add basic float testsAyke van Laethem