home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c065 / 2.ddi / MATH.ZIP / FPRESET.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-07  |  1.7 KB  |  48 lines

  1. /*------------------------------------------------------------------------
  2.  * filename - fpreset.c
  3.  *
  4.  * function(s)
  5.  *        _fpreset - reinitializes floating point math package
  6.  *-----------------------------------------------------------------------*/
  7.  
  8. /*[]------------------------------------------------------------[]*/
  9. /*|                                                              |*/
  10. /*|     Turbo C Run Time Library - Version 3.0                   |*/
  11. /*|                                                              |*/
  12. /*|                                                              |*/
  13. /*|     Copyright (c) 1987, 1990 by Borland International        |*/
  14. /*|     All Rights Reserved.                                     |*/
  15. /*|                                                              |*/
  16. /*[]------------------------------------------------------------[]*/
  17.  
  18.  
  19. #include <float.h>
  20.  
  21. /* The function __fpreset() is in the emulator library and is    */
  22. /* used during the initialization of the FPU (emu1st).        */
  23. /* As all the emulator functions which are model-independent,    */
  24. /* __fpreset() is a NEAR function, and must be called from the    */
  25. /* _TEXT segment.                        */
  26.  
  27. void near cdecl __fpreset(void);
  28.  
  29. /*--------------------------------------------------------------------------*
  30.  
  31. Name        _fpreset - reinitializes floating point math package
  32.  
  33. Usage        void _fpreset(void);
  34.  
  35. Prototype in    float.h
  36.  
  37. Description    _fpreset  reinitializes the   floating point  math package.
  38.         This function  is usually used in  conjunction with signal,
  39.         system, or the exec... or spawn... functions.
  40.  
  41. Return value    No return value
  42.  
  43. *---------------------------------------------------------------------------*/
  44. void _fpreset(void)
  45. {
  46.     __fpreset();
  47. }
  48.