https://github.com/jeffreysarnoff/simplefloatfunctions.jl
Extra floating point functions
https://github.com/jeffreysarnoff/simplefloatfunctions.jl
floating-point julia
Last synced: about 1 year ago
JSON representation
Extra floating point functions
- Host: GitHub
- URL: https://github.com/jeffreysarnoff/simplefloatfunctions.jl
- Owner: JeffreySarnoff
- License: mit
- Created: 2017-12-11T23:39:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-19T19:45:34.000Z (over 7 years ago)
- Last Synced: 2025-02-11T10:32:01.175Z (over 1 year ago)
- Topics: floating-point, julia
- Language: Julia
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleFloatFunctions.jl
Extra floating point functions
## Exports
square, cube, invsquare, invcube, invsqrt, invcbrt, spread, tld, sld
spread(x) complements trunc(x): nearest integer away from zero
tld(x,y) is like cld(x,y), fld(x,y) for trunc: trunc(x/h)
sld(x,y) is like cld(x,y), fld(x,y) for spread: spread(x/h)
## Accuracy
- cube and invcube are more accurate than their obvious implementations
- the other exports are at least as accurate as their obvious implementations