mlochbaum / singeli Goto Github PK
View Code? Open in Web Editor NEWHigh-level interface for low-level programming
License: ISC License
High-level interface for low-level programming
License: ISC License
I think that float2 may have a bug. It seems to have inaccurate results earlier than it should. There is also a possibility this is just a printing issue. Essentially, I wrote a program with float2 and then with big nat and got different results. I am still very much a beginner so I wouldn't be surprised if something else is wrong.
BigNat version Note: does not actually run on web repl, requires cbqn
Both of these just copied the needed functions from the related .bqn
files.
The float2 version fails because it generally has slightly off answers that I believe should fit within it's range.
This code and test case comes from a rosalind problem where bignat passes, but float2 fails.
For the current code these are the outputs:
float2 - 353368918335207361428
bignat - 353368918335207375428
2 digits are different here: 61 -> 75
The final value here has 69 binary digits and is the largest number generated, so I don't think there should be any precision loss with float2.
If this code is released under a free software license, I would like to package it for GNU/Guix. However, I don't see a license file, nor a github "license" field.
What license is this code meant to wear?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.