mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-23 16:34:07 +00:00
26 lines
330 B
ArmAsm
26 lines
330 B
ArmAsm
*
|
|
* Floating Point Hyperbolic cosine:
|
|
* Front End to FFP Floating Point Package.
|
|
*
|
|
* double
|
|
* cosh(farg)
|
|
* double farg;
|
|
*
|
|
* Returns : negated Floating point number
|
|
*
|
|
.globl _cosh
|
|
.globl iefcosh
|
|
.text
|
|
fpcosh:
|
|
_cosh:
|
|
~~cosh:
|
|
link r14,#-4
|
|
move.l d7,-(sp)
|
|
move.l 8(r14),r7
|
|
jsr iefcosh
|
|
move.l r7,r0
|
|
move.l (sp)+,d7
|
|
unlk r14
|
|
rts
|
|
|