F.9.1.5 The cos functions

1

  • cos((+-)0) returns 1.

  • cos((+-)(inf)) returns a NaN and raises the “invalid” floating-point exception.