garyhughes / stddecimal Goto Github PK
View Code? Open in Web Editor NEWAn implementation of the proposed C++ std::decimal
License: MIT License
An implementation of the proposed C++ std::decimal
License: MIT License
There is some inconsistency with the Intel library functions i.e. how do we convert between a long double and a BID_UINT128?
Can stddecimal
be used:
template <char... C>
constexpr decimal32 operator "" DF();
template <char... C>
constexpr decimal64 operator "" DD();
template <char... C>
constexpr decimal128 operator "" DL();
template <char... C>
constexpr decimal32 operator "" df();
template <char... C>
constexpr decimal64 operator "" dd();
template <char... C>
constexpr decimal128 operator "" dl();
The library functions receive a flags parameter that is used to communicate exceptions. Figure out the best way to expose this. Review the spec and see what the required behaviour is.
The spec describes this in detail, implement and add tests. It will have to live in it's own header as we obviously can't change
The intel library functions receive a parameter that controls rounding, check what it required and either add a mechanism to control this.
The existing tests are designed to exercise the templates and the basic usage of the Intel library.
This shouldn't be done until the exception handling has been implemented.
operator>> has not been implemented.
A very basic operator<< has been implemented for debugging purposes but it needs completing.
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.