A generalized Taylor method of order three for the solution of initial value problems in standard and infinity floating-point arithmetic