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.

70 lines
1.4 KiB

  1. page ,132
  2. title 87ctran - C interfaces - exp, log, log10, pow
  3. ;***
  4. ;87ctran.asm - exp, log, log10, pow functions (8087/emulator version)
  5. ;
  6. ; Copyright (c) 1984-2001, Microsoft Corporation. All rights reserved.
  7. ;
  8. ;Purpose:
  9. ; C interfaces for exp, log, log10, pow functions (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. ; 01-26-01 PML Pentium4 merge.
  20. ;
  21. ;*******************************************************************************
  22. .xlist
  23. include cruntime.inc
  24. .list
  25. _FUNC_ equ <exp>
  26. _FUNC_DEF_ equ <_exp_default>
  27. _FUNC_P4_ equ <_exp_pentium4>
  28. _FUNC_P4_EXTERN_ equ 1
  29. include disp_pentium4.inc
  30. _FUNC_ equ <_CIexp>
  31. _FUNC_DEF_ equ <_CIexp_default>
  32. _FUNC_P4_ equ <_CIexp_pentium4>
  33. include disp_pentium4.inc
  34. .data
  35. extrn _OP_EXPjmptab:word
  36. page
  37. CODESEG
  38. extrn _ctrandisp1:near
  39. public _exp_default
  40. _exp_default proc
  41. mov edx, OFFSET _OP_EXPjmptab
  42. jmp _ctrandisp1
  43. _exp_default endp
  44. extrn _cintrindisp1:near
  45. public _CIexp_default
  46. _CIexp_default proc
  47. mov edx, OFFSET _OP_EXPjmptab
  48. jmp _cintrindisp1
  49. _CIexp_default endp
  50. end