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.
 
 
 
 
 
 

100 lines
1.6 KiB

page ,132
title 87ctrigh - C interfaces - sinh, cosh, tanh
;***
;87ctrigh.asm - hyperbolic trig functions (8087/emulator version)
;
; Copyright (c) 1984-2001, Microsoft Corporation. All rights reserved.
;
;Purpose:
; C interfaces for sinh, cosh, tanh functions (8087/emulator version)
;
;Revision History:
; 07-04-84 GFW initial version
; 05-08-87 BCM added C intrinsic interface (_CI...)
; 10-12-87 BCM changes for OS/2 Support Library
; 11-24-87 BCM added _loadds under ifdef DLL
; 01-18-88 BCM eliminated IBMC20; ifos2,noos2 ==> ifmt,nomt
; 08-26-88 WAJ 386 version
; 11-20-89 WAJ Don't need pascal for MTHREAD 386.
;
;*******************************************************************************
.xlist
include cruntime.inc
.list
.data
extrn _OP_SINHjmptab:word
extrn _OP_COSHjmptab:word
extrn _OP_TANHjmptab:word
page
CODESEG
extrn _ctrandisp1:near
extrn _ctrandisp2:near
public sinh
sinh proc
mov rdx, OFFSET _OP_SINHjmptab
disp1::
jmp _ctrandisp1
sinh endp
public cosh
cosh proc
mov rdx, OFFSET _OP_COSHjmptab
jmp disp1
cosh endp
public tanh
tanh proc
mov rdx, OFFSET _OP_TANHjmptab
jmp disp1
tanh endp
extrn _cintrindisp1:near
extrn _cintrindisp2:near
public _CIsinh
_CIsinh proc
mov rdx, OFFSET _OP_SINHjmptab
idisp1::
jmp _cintrindisp1
_CIsinh endp
public _CIcosh
_CIcosh proc
mov rdx, OFFSET _OP_COSHjmptab
jmp idisp1
_CIcosh endp
public _CItanh
_CItanh proc
mov rdx, OFFSET _OP_TANHjmptab
jmp idisp1
_CItanh endp
end