Comments (5)
Just a user of Flow Launcher: Sure it is a bug but why would you do such calculations. 30000000000000000000*40000000000000000000
That was just one example. And this unlikely calculation might be an indication of a larger issue (possibly affecting even calculations that are more common, including one I shared above).
Hopefully that clarifies it, but also to answer to your question, I do tend to perform these calculations for various reasons, so I would also welcome support for scientific calculations to Flow Launcher. But that's to be raised in a different place.
from flow.launcher.
@deefrawley Just a user of Flow Launcher: I think Flow Launcher calculator is using 64 bit int and as per google 64 bit int can store numbers from -9,223,372,036,854,775,807 to 9,223,372,036,854,775,807. So any number greater than 9,223,372,036,854,775,807 and smaller than -9,223,372,036,854,775,807 can cause the issue.
from flow.launcher.
Update: This issue occurs even when directly typing the >19 digit number. Try typing "30000000000000000000" vs "40000000000000000000".
from flow.launcher.
Just a user of Flow Launcher: Sure it is a bug but why would you do such calculations.
30000000000000000000*40000000000000000000
from flow.launcher.
I'm not a core dev but my guess this is because the calc app is using 32 bit integer types which simply can't store large numbers. So either a larger bit integer data type is used or some sort of warning or error trap to let the user know.
In fact fumbling through the code here on Github, it could be the Math.Round function which seems to cast integers to 32 bit.
from flow.launcher.
Related Issues (20)
- Settings Sync HOT 3
- BUG: Explorer Plugin - Unable to open custom Files App (third party file explorer) HOT 3
- BUG: All Text is jagged HOT 5
- Set default fallback option when pressing key combinations on result. HOT 3
- The ability to re-queue last queries. HOT 2
- BUG: Flow Launcher won't show up HOT 6
- BUG: Launched programs have old environment variables HOT 3
- Preview usage HOT 1
- Non-rounded (rectangle) search bar corners HOT 2
- BUG: Unhandled exception after setting Explorer > Customize Action Keywords > Path Search
- Crash after wake up from power save HOT 2
- BUG: System.UriFormatException: Invalid URI HOT 1
- Difficulty accessing plugin settings programmatically with Python HOT 2
- BUG: System.UnauthorizedAccessException HOT 2
- Can't set hotkey to "Win + Space" HOT 3
- way too long startup time HOT 1
- Browser bookmark HOT 1
- BUG: Error on launch HOT 2
- Flow launcher got an error
- hide Uninstallers filters options in Programs Plugin
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 flow.launcher.