GithubHelp home page GithubHelp logo

afterdusk / flop Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 1.34 MB

IEEE 754-style floating-point converter

Home Page: https://flop.evanau.dev

License: MIT License

HTML 9.75% TypeScript 90.25%
ieee-754 floating-point bfloat16 tensorfloat fp16 floating-point-conversion

flop's People

Contributors

afterdusk avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

z452490334

flop's Issues

Improve compatibility for web and mobile browsers

Problem

flop looks alright on desktop Chrome, but the input text fields look oversized in Firefox. Other browsers have not even been tested.

On mobile (and presumably tablets too), the interface is entirely broken. The page overflows the screen, text appears at the wrong size, input fields are misaligned. While the app is not meant to run with an optimal experience on mobile browsers, it should at least be usable.

Tasks

Web Browser Compat

  • Add custom CSS for HTML elements for consistent look across browsers
  • Verify page appears as intended on:
    • Chrome
    • Firefox
    • Safari
    • Opera
    • Edge

Mobile Compat

  • Add mobile interface
  • Verify mobile interface appears as intended on:
    • Android tablets
    • Android phones
    • iPads
    • iPhones

Add custom bias.

I guss currently the Bias is calculated according to the IEEE 754 Standard: Bias: 2^(NoOfExpBits-1)-1. So with 8bit exponent a bias of 127, or with 5bit a bias of 15.

It would be nice to set a custom bias akin similar to what mentioned in https://en.wikipedia.org/wiki/Minifloat , a bias of 2.

Otherwise this is all great and useful for education.

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.