home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_122 / 2.ddi / MATHSRC.ZIP / FPRESET.C < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  1.4 KB  |  46 lines

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