Giter VIP home page Giter VIP logo

damian-666 / arithmetics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lombiq/arithmetics

0.0 0.0 0.0 1.7 MB

Hastlayer-compatible arithmetics package. Includes the .NET implementation of the unum and posit number formats that can be transformed into specialized hardware with Hastlayer (https://hastlayer.com). On unum and posit see: https://posithub.org/.

License: BSD 3-Clause "New" or "Revised" License

C# 100.00%

arithmetics's Introduction

Lombiq Arithmetics

Lombiq.Arithmetics NuGet

About

Next-generation arithmetic implementations, improved floating point number types for .NET, written in C#. Includes the following number types:

  • Posit: a drop-in replacement for standard floats and doubles that provides more accurate results with fewer bits. Can be used in any .NET software that needs better accuracy than doubles. For more info see the "Beating Floating Point at its Own Game: Posit Arithmetic" white paper.
  • Unum: similar to posit but with a more complex implementation, a prior idea; just a basic proof of concept. For more info see the [compilation of unum resources](](http://www.johngustafson.net/unums.html) on Dr. John Gustafson's website.

This project was developed as part of Hastlayer, the .NET HLS tool that converts .NET programs into equivalent logic hardware implementations. Both the posit and unum implementation can be automatically converted into FPGA-implemented logic hardware.

We've written a detailed whitepaper about our posit implementation and its results. You can download the whitepaper for free by visiting the link found on our Next Generation Arithmetic with Hastlayer page.

This project is developed by Lombiq Technologies Ltd. Commercial-grade support is available through Lombiq.

About unum

Unum is a new number format invented by Dr. John L. Gustafson that can be used to store any number with exact precision (or known error). It can be used to achieve better range and accuracy than IEEE floating point formats while eliminating the algebraic errors that the IEEE floats are prone to.

For more about its advantages see: http://ubiquity.acm.org/article.cfm?id=2913029.

Contributing and support

Bug reports, feature requests, comments, questions, code contributions, and love letters are warmly welcome, please do so via GitHub issues and pull requests. Please adhere to our open-source guidelines while doing so.

This project is developed by Lombiq Technologies. Commercial-grade support is available through Lombiq.

arithmetics's People

Contributors

piedone avatar sarahelsaig avatar benedekfarkas avatar

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.