	title	Module from library HIFLOAT_3 : LBTRUN
	name	('LBTRUN')
	maclib	baselib.lib

; Truncate function

; Copyright (C)	Werner Cirsovius
;		Hohe Weide 44
;		D-20253 Hamburg
;		Tel.: +49-40-4223247

;		Version 1.0 January 1989

; ENTRY	Reg BC points to number to be truncated

; EXIT	Reg HL holds the greatest integer less than
;	or equal to input number

	entry	fltrunc

	ext	?fltrnc,@opr16

fltrunc:
	ld	ix,?fltrnc
	jp	@opr16		; Get 16 bit

	end

