Comments (6)
You can assign me on this one, if you want.
from calculatex.
@mjhouse by the way, I'm almost certain that there are bugs in Val
's Add and Sub implementations, so it's fine for you to PR broken tests if the math checks out.
The add and sub impls are kind of tough because we want to keep Val
as close to zero as possible, but we can't just add/multiply the exponent or multiplier values. I think it will be a lot easier to figure it out once there are tests.
from calculatex.
Alright, I'll take a look at Val after I finish up Unit.
from calculatex.
@mkhan45 Unless you want this to be an ongoing issue. I think it can be closed. There are a lot more tests now, and they're run automatically before merges to main.
from calculatex.
We still need tests on the LaTeX output. In the past, there have been bugs with LaTeX output getting the prefix on the unit wrong or the power of 10 wrong which is very dangerous since it's not obvious.
from calculatex.
from calculatex.
Related Issues (20)
- Use as a pandoc filter plugin HOT 1
- Redo error handling
- Implicit parenthesis made explicit when using plus or minus HOT 2
- Option to output as string from cli
- User defined mathematical functions
- Variable aliases HOT 1
- Truth table generator
- 1 * 10^0 in scientific notation HOT 2
- LaTeX output should try to be human readable
- Some functions should support values with units
- Weird sign error HOT 2
- Implement negation as a prefix operator instead of as a parsing rule HOT 2
- Variables should be italicized HOT 1
- Roots of small numbers HOT 1
- More sign shenanigans HOT 2
- Add unit test for prefixes
- "zetta" isn't recognized as a prefix
- Appreciation HOT 1
- CalcuLaTeX 2.0 HOT 1
- vectors HOT 1
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 calculatex.