AminetAminet
Search:
84520 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/libs/ieee_fix.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Fix C='s IEEE lib (ATN: spice users)
Author:henric at engineering.ucsb.edu
Uploader:henric engineering ucsb edu
Type:util/libs
Architecture:m68k-amigaos
Date:1994-12-06
Download:http://aminet.net/util/libs/ieee_fix.lha - View contents
Readme:http://aminet.net/util/libs/ieee_fix.readme
Downloads:768

This patch fixes IEEEDPCmp() for mathieeedoubbas.library version 38.2. 
You can check the version of the file you have with "version
libs:mathieeedoubbas.library full file".  It should say 38.2 and give a
date of 24 Jan 92.  The patch should refuse to do anything if the version
is not correct. 

The simplest way to use it is to execute the "FixIEEE" script ("execute
FixIEEE"). 

It attempts to (or, what you should do yourself if you
don't trust it):
1. Make a backup copy of mathieeedoubbas.library
2. Copy mathieeedoubbas.library to the directory where you
   extracted this archive.
3. Type "spatch mathieeedoubbas.library"
4. Copy the file "mathieedoubbas.new" to 
   "sys:libs/mathieeedoubbas.library"

It was brought to my attention that the pz analysis in the IEEE version of
spice3 (spice3f4r1_000.lha) was broken. After no time at all (yeah,
right...), it occured to me that IEEEDPCmp() was the cause of this
problem.  This patch should correct the problem with pz analysis (and it
might resolve other problems too). 

IEEEDPCmp() can give an incorrect answer when both arguments are negative
and the high halves of the arguments are identical. The patch replaces
bmi/bgt with bhi, and it changes the version number in the _file_ to 99.9. 
Apparently, the version number of the library (once it is loaded) is taken
from MathIEEEResource and the revision number is based on whether or not
there is an FPU or not (I _think_ :). 



spatch is Copyright © 1992 SAS Institute, Inc.


Contents of util/libs/ieee_fix.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
-rw-r--r--  2354/23        230     444  51.8% -lh5- 9ed8 Dec  6  1994 FixIEEE
-rw-r--r--  2354/23        837    1637  51.1% -lh5- 6535 Dec  6  1994 ieee_fix.readme
-rw-r--r--  2354/23        176     236  74.6% -lh5- 3302 Dec  6  1994 mathieeedoubbas.pch
-rwxr-xr-x  2354/23       9287   14636  63.5% -lh5- e89d Dec  6  1994 spatch
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files   10530   16953  62.1%            Dec  6  1994

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>