0.30000000000000004
Floating Point Math Examples (by erikwiffin)
proposal-types-as-comments
ECMAScript proposal for type syntax that is erased - Stage 1 [Moved to: https://github.com/tc39/proposal-type-annotations] (by giltayar)
0.30000000000000004 | proposal-types-as-comments | |
---|---|---|
250 | 32 | |
1,465 | 2,364 | |
0.8% | - | |
2.0 | 8.6 | |
12 months ago | almost 3 years ago | |
CSS | JavaScript | |
GNU General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
0.30000000000000004
Posts with mentions or reviews of 0.30000000000000004.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-03-11.
-
How to detect and fix flaky tests in Pytest
This is due to the way floating point numbers are represented in memory, certain numbers like 0.3 are stored as a number very close to the original value (0.30000000000000004), but not the exact same. This problem also exists in other languages like JavaScript and C++, but is much more likely to cause problems in common applications of Python like machine learning and data science.
- Floating Point Math
- 0.1 and 0.2 = 0.30000000000000004
- 0.30000000000000004
-
What even is a JSON number?
https://0.30000000000000004.com/
Although it would be good to move in the direction of using a BigDecimal equivalent by default when ingesting unknown data.
-
Working with Numpy floats and Forex financial instruments
There's no such thing as precision for floats. Floating-point calculations are always inaccurate: read this: https://0.30000000000000004.com/
- Just learned the difference between decimal and float
-
how do i make the decimals not fucked up
Edit: This specific example even has its own website: https://0.30000000000000004.com/
proposal-types-as-comments
Posts with mentions or reviews of proposal-types-as-comments.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-23.
- Proposal-Types-As-Comments - ECMAScript proposal: Types as Comments
-
Thoughts on proposal For Type Syntax in JavaScript
As per the proposal:
- Amazon Corretto 18 is now generally available
- A few misconceptions people seem to have about the Types as Comments proposal
-
[AskJS] Why not just add 'application/typescript' support for browsers.
Not runtime ones. https://github.com/giltayar/proposal-types-as-comments/issues/45
- [AskJS] What features do you think this proposal is missing vs the current typescript state?
-
Deno Is Webby
I do wonder about a future where JavaScript gets non-enforced optional type annotation syntax[1] which is and if said syntax will be slightly incompatible with TypeScript. That would be a little awkward for Deno, wouldn’t it. However I hope that if JS gets type annotation syntax that it would be a strict subset of TypeScript—or at the very least future compatible—for this very reason.
1. https://github.com/giltayar/proposal-types-as-comments
-
I'll miss you, my love ...
I assumed the joke was about this
-
Microsoft proposes type syntax for JavaScript
It's actually Gil Taylor
The proposal on GitHub
What are some alternatives?
When comparing 0.30000000000000004 and proposal-types-as-comments you can also consider the following projects:
glibc - Unofficial mirror of sourceware glibc repository. Updated daily.
sqlite3 - The fastest and correct SQLite3 module for Deno runtime
proposal-decimal - Built-in exact decimal numbers for JavaScript
corretto-17 - Amazon Corretto 17 is a no-cost, multi-platform, production-ready distribution of OpenJDK 17
s2geometry - Computational geometry and spatial indexing on the sphere
corretto-18 - Amazon Corretto 18 is a no-cost, multi-platform, production-ready distribution of OpenJDK 18