Comments (3)
It looks that this regression was introduced in the latest couple of commits. The the initial version serialize it without rounding.
from ryu.
Thanks for the report. It was due to a typo I introduced when I translated some recent-ish performance improvements from C to Java. Oddly enough, it wasn't discovered by my extensive comparison test - maybe that generates too predictable patterns.
from ryu.
I must have been asleep when I did that translation - I found another bug and fixed it in 6ae35dc. I also added a randomized comparison test, so hopefully, this will not occur again.
from ryu.
Related Issues (20)
- Instructions for porting to C# HOT 3
- A DecimalFloatingPoint struct in the public side of the API HOT 1
- Buffer overflow possible with d2fixed() and friends
- Julia implementation HOT 1
- Not getting the shortest decimal representation of 0.3 HOT 9
- Outdated Documentation HOT 1
- Questions on Ryu algorithm
- Remove the "static inline" declarator HOT 3
- Add a prefix to exported names HOT 6
- C implementation that accommodates 10-byte and 16-byte floating point data types HOT 7
- question: is there a standard for 'shortest'? HOT 1
- question about ryu support in gcc? ( pure-'C' ) HOT 1
- Honest output request HOT 2
- optimized ryu version for 'long doubles'? ( real 80-bit figures, not 'fake-long' ) - enhancement proposal -
- Wondering if anyone has a generic_decimal_to_binary implementation? HOT 2
- generic_128's long_double_to_fd128 is silently incorrect on most platforms. long double users beware
- travis ci never completes its checks HOT 3
- Clarification on lower bound of `compute_shortest`. HOT 4
- Ryu: Question about Step 0 in section 3.4 of the PLDI paper
- Specify STATIC in add_library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ryu.