Comments (2)
MRE
Not sure it's the only issue though:
x86_64 (dev2
):
mysql> DROP TABLE IF EXISTS test; CREATE TABLE test (flt float); INSERT INTO test (id, flt) VALUES ( 1, 1.1); select flt*flt+flt from test;
--------------
DROP TABLE IF EXISTS test
--------------
Query OK, 0 rows affected (0.00 sec)
--------------
CREATE TABLE test (flt float)
--------------
Query OK, 0 rows affected (0.00 sec)
--------------
INSERT INTO test (id, flt) VALUES ( 1, 1.1)
--------------
Query OK, 1 row affected (0.00 sec)
--------------
select flt*flt+flt from test
--------------
+-------------+
| flt*flt+flt |
+-------------+
| 2.310000 |
+-------------+
1 row in set (0.00 sec)
--- 1 out of 1 results in 0ms ---
arm64 (Sergey's mac):
mysql> DROP TABLE IF EXISTS test; CREATE TABLE test (flt float); INSERT INTO test (id, flt) VALUES ( 1, 1.1); select flt*flt+flt from test;
--------------
DROP TABLE IF EXISTS test
--------------
Query OK, 0 rows affected (0.00 sec)
--------------
CREATE TABLE test (flt float)
--------------
Query OK, 0 rows affected (0.00 sec)
--------------
INSERT INTO test (id, flt) VALUES ( 1, 1.1)
--------------
Query OK, 1 row affected (0.00 sec)
--------------
select flt*flt+flt from test
--------------
+-------------+
| flt*flt+flt |
+-------------+
| 2.31000018 |
+-------------+
1 row in set (0.00 sec)
--- 1 out of 1 results in 0ms ---
Expected: same float values returned in both cases.
from manticoresearch.
Note, the following query returns the same value on arm64 and x86_64:
mysql> select 1.1*1.1+1.1;
--------------
select 1.1*1.1+1.1
--------------
+-------------+
| 1.1*1.1+1.1 |
+-------------+
| 2.310000 |
+-------------+
1 row in set (0.04 sec)
from manticoresearch.
Related Issues (20)
- Conversion of boolean values passed as strings HOT 2
- access_dict setting HOT 1
- Hour in version
- Conversion of boolean values passed as strings for plain data sources
- Manticore server won't start after server power fault HOT 2
- Memory Not Released in Manticore 6.2.12 Version HOT 5
- WARNING: RotateIndexMT error - failed to rename lock HOT 13
- Wrong lccs
- Wrong result when searching on json attributes HOT 9
- Shift/reduce conflict in Bison HOT 1
- Docs for SHOW VERSION HOT 1
- Support libmysqlclient.22.dylib in indexer HOT 1
- Highlight with html_strip_mode corrupt the data HOT 1
- comparison with double in json not working HOT 4
- Wrong wordforms behaviour HOT 1
- Allow usage of COUNT(1) HOT 7
- table created without wordforms HOT 2
- Autodetection of date formats for timestamp fields HOT 11
- "Internal server error" when referencing unknown index on Mac HOT 4
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 manticoresearch.