The code for comparison operators is now generated by genop. The support for multiple type has been added. Missing operators <= and >= are now implemented.
9 lines
68 B
Go
9 lines
68 B
Go
package main
|
|
|
|
func main() {
|
|
println(2 < 2.4)
|
|
}
|
|
|
|
// Output:
|
|
// true
|