Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
542 B

  1. /***
  2. * fp10.c - Set default FP precision to 64 bits (10-byte 'long double')
  3. *
  4. * Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. *
  8. *Revision History:
  9. * 03-23-93 JWM created file
  10. *
  11. *******************************************************************************/
  12. #include <float.h>
  13. void _setdefaultprecision(void);
  14. /*
  15. * Routine to set default FP precision to 64 bits, used to override
  16. * standard 53-bit precision version in fpinit.c.
  17. */
  18. void _setdefaultprecision()
  19. {
  20. _controlfp(_PC_64, _MCW_PC);
  21. }