The company posted a net loss of $266.7 million after having to book a loss associated with some convertible senior notes.