Metropoli BBS
VIEWER: math_bc.asm MODE: TEXT (ASCII)
; Math Library to be used in C programs (Borland C 32-bit)

; results are left in the FPU regs

include qlib.inc
include math.inc
include string.inc
include errno.inc

.data
_math_typ db 0
_BC_ equ 1

externdef _turboFloat:DWORD      ;these should be ABS but DLINK
externdef _floatconvert:DWORD    ;can't handle that

  ;and these should be equ but DLINK can't handle that...
  _turboFloat dd 80387h  ;for BCC32 v5.0 compatibility
  _floatconvert dd 80387h  ;something else it may need

include math_com.asm
include ftoa.asm

.code
_ftol proc   ;for BCC32 compiler
  push ebp
  mov ebp,esp
  jmp __ftol
_ftol endp

end
[ RETURN TO DIRECTORY ]