Enhanced Computational Support

Historically, FORTRAN has been the premier language for numerical scientific and engineering computation. C90 brought C computational methods into closer agreement with FORTRAN. For example, the specification of floating-point characteristics used in float.h is based on the model developed by the FORTRAN standardization committee. The C9X continues the work of enhancing C's appropriateness for computational work.

The fenv.h Header File

The fenv.h header file provides a means of interacting with the floating-point environment. That is, it allows you to set floating-point control mode values that govern how floating-point calculations take place, and it allows you to determine the value of floating-point status flags ...

Get C Primer Plus®, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.