Comments (1)
Spreadsheets need 'decimal' format for certain areas and 'scientific' for others, depending on user's request or default. I think it is better if ryu can provide this directly than if the programs have to do downstream string manipulation.
I tried and managed to adapt ryu's output to other formats by patching d2s.c and generic128.c ( I didn't need fs2 yet, but it should be possible as well ).
If someone needs this, he can find the code at https://gitlab.gnome.org/GNOME/goffice/-/issues/57, there comment from 2022-05-11.
And if someone has time:
A.) to check that I didn't add any bugs,
B.) if you can optimize it further,
C.) if it's license-legally correct ( enough readmes included, all foreign rights respected, effective disclaimer ),
then he could do me and possibly others a big favor.
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 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.