I think it's supposed to look something like this:

```ruby
alpha = width.zero? ? Math::PI*(height<=>1)/(2 : Math.atan(height/width)
```

You are welcome to go ahead and make that more readable.