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.

56 lines
1.1 KiB

  1. page ,132
  2. title 87ctriga - C interfaces - asin, acos, atan, atan2
  3. ;***
  4. ;87ctriga.asm - inverse trig functions (8087/emulator version)
  5. ;
  6. ; Copyright (c) 1984-2001, Microsoft Corporation. All rights reserved.
  7. ;
  8. ;Purpose:
  9. ; C interfaces for asin, acos, atan, atan2 (8087/emulator version)
  10. ;
  11. ;Revision History:
  12. ; 07-04-84 GFW initial version
  13. ; 05-08-87 BCM added C intrinsic interface (_CI...)
  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 MTHREAD 386.
  19. ;
  20. ;*******************************************************************************
  21. .xlist
  22. include cruntime.inc
  23. .list
  24. .data
  25. extrn _OP_ATAN2jmptab:word
  26. page
  27. CODESEG
  28. extrn _ctrandisp2:near
  29. public atan2
  30. atan2 proc
  31. mov edx, OFFSET _OP_ATAN2jmptab
  32. jmp _ctrandisp2
  33. atan2 endp
  34. extrn _cintrindisp2:near
  35. public _CIatan2
  36. _CIatan2 proc
  37. mov edx, OFFSET _OP_ATAN2jmptab
  38. jmp _cintrindisp2
  39. _CIatan2 endp
  40. end