Giter Site home page Giter Site logo

north-numerical-computing / cpfloat Goto Github PK

View Code? Open in Web Editor NEW
25.0 3.0 6.0 5.17 MB

Custom-Precision Floating-point numbers.

Home Page: https://north-numerical-computing.github.io/cpfloat/

License: GNU Lesser General Public License v2.1

Makefile 2.82% MATLAB 10.67% C 49.97% Shell 0.90% TypeScript 35.63%
floating-point-arithmetic low-precision-formats rounding

cpfloat's People

Contributors

imciner2 avatar mfasi avatar mmikaitis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cpfloat's Issues

Documentation about scripts needed to run tests locally

This is not an issue in the code but more on the documentation side. I am putting it here so that we don't forget to address it at some point.

I think we need to provide some information in README on the testing framework and what dependencies need to be installed.

I tried to set it up on macOS and I noticed that I am missing:

check
checkmk
subunit
rt

Finding these packages is quite difficult since their names are quite generic. We could provide links (and their full names, short descriptions) to the sources of these packages in README which may help. I was able to easily install check and checkmk through Homebrew but I could not find subunit there and had to build it from source. As for rt, I still do not know what it is (perhaps the Request Tracker https://rt-wiki.bestpractical.com/wiki/ManualInstallation).

Potential retval inconsistencies

retval settings on

if (precision > DEFPREC) {
precision = DEFPREC;
*retval = 1;
}
if (emax > DEFEMAX) {
emax = DEFEMAX;
*retval = 2;
}

are not consistent with what is done in VALIDATE_INPUT. Do we need these checks in COMPUTE_GLOBAL_PARAMS when it is already done in VALIDATE_INPUT?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.