Leaked source code of windows server 2003
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.

58 lines
1.1 KiB

  1. page ,132
  2. title 87csqrt - C interfaces - sqrt
  3. ;***
  4. ;87csqrt.asm - sqrt functions (8087/emulator version)
  5. ;
  6. ; Copyright (c) 1984-2001, Microsoft Corporation. All rights reserved.
  7. ;
  8. ;Purpose:
  9. ; C interfaces for the sqrt function (8087/emulator version)
  10. ;
  11. ;Revision History:
  12. ; 07-04-84 GFW initial version
  13. ; 05-08-87 BCM added C intrinsic interface (_CIsqrt)
  14. ; 10-12-87 BCM changes for OS/2 Support Library
  15. ; 11-24-87 BCM added _loadds under ifdef DLL
  16. ; 01-18-88 BCM eliminated IBMC20; ifos2,noos2 ==> ifmt,nomt
  17. ; 08-26-88 WAJ 386 version.
  18. ; 11-20-89 WAJ Don't need pascal for 386 MTHREAD.
  19. ;
  20. ;*******************************************************************************
  21. .xlist
  22. include cruntime.inc
  23. .list
  24. .data
  25. extrn _OP_SQRTjmptab:word
  26. page
  27. CODESEG
  28. extrn _ctrandisp1:near
  29. public oldsqr
  30. oldsqr proc
  31. mov edx, OFFSET _OP_SQRTjmptab
  32. jmp _ctrandisp1
  33. oldsqr endp
  34. extrn _cintrindisp1:near
  35. public _old_CIsqrt
  36. _old_CIsqrt proc
  37. mov edx, OFFSET _OP_SQRTjmptab
  38. jmp _cintrindisp1
  39. _old_CIsqrt endp
  40. end