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

util/libs/MathLibsUAE.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:free IEEE-libs for WinUAE or 68881/2 FPU
Author:Peter Keunecke
Uploader:pkeunecke alice-dsl net
Type:util/libs
Version:45.881 r14
Requires:WinUAE or an Amiga with 68881/2 FPU (emulation)
Architecture:m68k-amigaos >= 2.0.0
Date:2018-06-27
Download:http://aminet.net/util/libs/MathLibsUAE.lha - View contents
Readme:http://aminet.net/util/libs/MathLibsUAE.readme
Downloads:2169
 Latest changes r14:
 ==================

This is the final cleanup now. Nothing can divide my concept
and conquer me. This is the greatest NaNsense I've ever done,
but it needs a little less memory and disk space or ROM now.
Removed a few hundred bytes. The additional branches can be
done by the CPU already whilst the FPU is still calculating.
Please, don't expect that anything gets faster in reality...


 Changes in r11-r13:
 ==================

Set the global rounding mode to ext. nearest except for Fix()
to get more accurate rounded results for most functions. Only
Fix() really needs the rounding to zero, which I used before.
Some functions have better results now than the OS 3.9 libs.
I always checked my results with the reference values of the
HS benchmarks for correctness until I now found out with an
arbitrary precision math calculator that some references were
rounded to wrong values, the same as the results from OS 3.9.
Some functions also profit from the 80 bit FPU in WinUAE 4.0.
Changed the FMOD instruction in the Pow() function into FREM.

Some small optimizations in Tst(), Cmp(), Floor() and Ceil().

Safer fallback to the original libs when no FPU is detected.
The fallback is only supported with PatchMSB and loading the
libs from disk, not with LoadModule, LoadResident or a ROM.
Removed the segment list pointer from the resident module to
make it possible to add these libraries to a custom ROM, but
this has not been tested and is not recommended, because if
these libraries are resident a fallback to the original libs
can not be done anymore when no FPU is found in the system.


 Description:
 ===========

These libraries are translating most floating point function
calls directly into FPU instructions. No integer calculations.
The Pow() function is optimized for PCs, but works on any FPU.
In case that no FPU is detected, the original libs are loaded.
Btw, the AmigaOS IEEE libraries also have support for FPUs. ;)


    The standard installation, this is a safe setup:
    ===============================================


1)  Copy c/PatchMSB to C:


2)  Make a directory Libs:NoFPU

    Copy your AmigaOS mathieeelibs to Libs:NoFPU ; as fallback

    Copy the contents of libs/ to Libs:


3)  Insert a line below SetPatch in your startup-sequence:

    SetPatch QUIET ; ...

    PatchMSB ; installs the same functions as in MSB-library

             ; remove all other patches for IEEE libraries

4)  Reboot


 Legal basis:
 ===========

The libraries and sources are funware and freely distributable.
I don't give any warranties. You're using this software on your
own risk and you are responsible for any damage it might cause!


 Copyright 2018:
 ==============

 Peter Keunecke



Contents of util/libs/MathLibsUAE.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 1833    2740  66.9% -lh5- f5e3 Jun 27 20:45 MathLibsUAE.info
[unknown]                 1839    2740  67.1% -lh5- 8818 Jun 27 20:45 MathLibsUAE/C.info
[unknown]                  404     512  78.9% -lh5- b9b3 Jun 27 20:45 MathLibsUAE/C/PatchMSB
[unknown]                 1833    2740  66.9% -lh5- 5f10 Jun 27 20:45 MathLibsUAE/Libs.info
[unknown]                  469     600  78.2% -lh5- 7252 Jun 27 20:45 MathLibsUAE/Libs/mathieeedoubbas.library
[unknown]                  481     672  71.6% -lh5- f7a9 Jun 27 20:45 MathLibsUAE/Libs/mathieeedoubtrans.library
[unknown]                  407     524  77.7% -lh5- d0d9 Jun 27 20:45 MathLibsUAE/Libs/mathieeesingbas.library
[unknown]                  452     568  79.6% -lh5- 0969 Jun 27 20:45 MathLibsUAE/Libs/mathieeesingtrans.library
[unknown]                 1484    3001  49.5% -lh5- ca2c Jun 27 20:45 MathLibsUAE/MathLibsUAE.readme
[unknown]                 8465   11345  74.6% -lh5- 61b1 Jun 27 20:45 MathLibsUAE/MathLibsUAE.readme.info
[unknown]                 1843    2740  67.3% -lh5- 9794 Jun 27 20:45 MathLibsUAE/Source.info
[unknown]                 1486    9145  16.2% -lh5- e529 Jun 27 20:45 MathLibsUAE/Source/mathieeedoubbas.library.asm
[unknown]                 3666    5009  73.2% -lh5- 3ccb Jun 27 20:45 MathLibsUAE/Source/mathieeedoubbas.library.asm.info
[unknown]                 1456    9471  15.4% -lh5- a0e7 Jun 27 20:45 MathLibsUAE/Source/mathieeedoubtrans.library.asm
[unknown]                 3667    5009  73.2% -lh5- 695f Jun 27 20:45 MathLibsUAE/Source/mathieeedoubtrans.library.asm.info
[unknown]                 1354    7857  17.2% -lh5- 5768 Jun 27 20:45 MathLibsUAE/Source/mathieeesingbas.library.asm
[unknown]                 3666    5009  73.2% -lh5- 517e Jun 27 20:45 MathLibsUAE/Source/mathieeesingbas.library.asm.info
[unknown]                 1401    8151  17.2% -lh5- 9033 Jun 27 20:45 MathLibsUAE/Source/mathieeesingtrans.library.asm
[unknown]                 3666    5009  73.2% -lh5- c7a5 Jun 27 20:45 MathLibsUAE/Source/mathieeesingtrans.library.asm.info
[unknown]                 1103    7090  15.6% -lh5- 23d5 Jun 27 20:45 MathLibsUAE/Source/PatchMSB.asm
[unknown]                 3664    5009  73.1% -lh5- af9c Jun 27 20:45 MathLibsUAE/Source/PatchMSB.asm.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        21 files   44639   94941  47.0%            Jun 27 21:24

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