
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
Short: | converts between long's and float's |
Author: | lombi iprimus.com.au (Lorence Lombardo) |
Uploader: | lombi iprimus com au (Lorence Lombardo) |
Type: | dev/lang |
Version: | 28-Jun-2011 |
Architecture: | m68k-amigaos |
Date: | 2011-06-28 |
Download: | dev/lang/fl_utils.lha - View contents | Readme: | dev/lang/fl_utils.readme |
Downloads: | 747 |
|
fl_utils (C) 2011 Lorence Lombardo.
WTF is fl_utils ?
fl_utils is a collection of utilities for converting between the long
integers of floats and floats.
Who is it good for ?
fl_utils could be useful to any language not having complete float support,
such as:- ACE, Classic Blitz, PureBasic, Sozobon C, HCC, HCE, REXX, etc...
long2float --- Converts the two long integers of a double float, into a
floating point string.
Usage:- long2float <long1> <long2> [frac_digits]
eg. long2float 1074341010 1227133513 16
float2long --- Converts a double float to two long integers seperated by a
space.
Usage:- float2long <float>
eg. float2long .33333333333333333333
long2single -- Converts the long integer of a single float, into a floating
point string.
Usage:- long2single <long> [frac_digits]
single2long -- Converts a single float into a long integer.
Usage:- float2long <float>
long2ffp ----- Converts the long integer of an FFP float, into a floating
point string with a similar usage as "long2single".
ffp2long ----- Converts an FFP float into a long integer with a similar
usage as "single2long".
fl_utils SAS have been tested under "ROM 1.3" with no FPU.
Perhaps fl_utils might inspire a shared library.
URL's of related interest:-
http://aminet.net/package/dev/basic/Blitz_Dub
http://aminet.net/package/dev/lang/dubcom
Feeling bored ? :)
Why not check out this URL ?
http://home.iprimus.com.au/lombi/1/homepage.htm
|
Contents of dev/lang/fl_utils.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[unknown] 773 1854 41.7% -lh5- a9fb Jun 28 10:53 fl_utils/fl_utils.readme
[unknown] 8233 15040 54.7% -lh5- 8160 Jun 28 10:37 fl_utils/g++/float2long
[unknown] 6460 11556 55.9% -lh5- 8275 Jun 28 10:38 fl_utils/g++/long2float
[unknown] 6414 11456 56.0% -lh5- 920c Jun 28 10:43 fl_utils/g++/long2single
[unknown] 8185 14936 54.8% -lh5- f9e6 Jun 28 10:44 fl_utils/g++/single2long
[unknown] 6957 10688 65.1% -lh5- 674f Jun 27 17:38 fl_utils/sas/ffp2long
[unknown] 6884 10580 65.1% -lh5- 5024 Jun 27 17:38 fl_utils/sas/float2long
[unknown] 6934 10624 65.3% -lh5- b3cf Jun 27 17:38 fl_utils/sas/long2ffp
[unknown] 7088 10880 65.1% -lh5- 8079 Jun 27 17:38 fl_utils/sas/long2float
[unknown] 7252 11092 65.4% -lh5- bc86 Jun 27 17:38 fl_utils/sas/long2single
[unknown] 7047 10808 65.2% -lh5- 5a22 Jun 27 17:38 fl_utils/sas/single2long
[unknown] 198 336 58.9% -lh5- e391 Jun 27 06:20 fl_utils/src/float2long.c
[unknown] 268 532 50.4% -lh5- f53a Jun 27 06:20 fl_utils/src/long2float.c
[unknown] 235 412 57.0% -lh5- 7644 Jun 27 06:20 fl_utils/src/long2single.c
[unknown] 165 245 67.3% -lh5- 5d59 Jun 27 06:20 fl_utils/src/single2long.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 15 files 73093 121039 60.4% Jun 27 21:26
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |