sbf4.c

Go to the documentation of this file.
00001 /*
00002  (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
00003   See the copyright notice in the ACK home directory, in the file "Copyright".
00004 */
00005 
00006 /* $Header: /opt/proj/minix/cvsroot/src/lib/float/sbf4.c,v 1.1.1.1 2005/04/21 14:56:11 beng Exp $ */
00007 
00008 /*
00009         SUBTRACT TWO FLOATS - SINGLE Precision (SBF 4)
00010 */
00011 
00012 #include        "FP_types.h"
00013 
00014 void
00015 sbf4(s2,s1)
00016 SINGLE  s1,s2;
00017 {
00018         EXTEND e1,e2;
00019 
00020         if (s2 == (SINGLE) 0) {
00021                 return;
00022         }
00023         extend(&s1,&e1,sizeof(SINGLE));
00024         extend(&s2,&e2,sizeof(SINGLE));
00025         sub_ext(&e1,&e2);
00026         compact(&e1,&s1,sizeof(SINGLE));
00027 }

Generated on Fri Apr 14 22:57:26 2006 for minix by  doxygen 1.4.6