Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- remove -DLONGDOUBLE_TYPE=double from Makefile #381

Merged
merged 2 commits into from
Apr 4, 2020

Conversation

kaizhu256
Copy link
Member

@kaizhu256 kaizhu256 commented Apr 3, 2020

this is an updated fix for pull-request #337 . included @brodybits as co-author in commit-message.

this pull-request resolves issue #325 by verifying the following test-cases:

  1. SELECT 1.7976931348623157e+308 evaluates to 1.7976931348623157e+308 (instead of Infinity)
  2. SELECT ? evaluates to 1.7976931348623157e+308 (instead of Infinity)
  3. SELECT CAST('1.7976931348623157e+308' AS REAL) evaluates to 1.7976931348623157e+308 (instead of Infinity)

if this pull-request is ok to merge, please close #337 and close #325 as well.

test/test_issue325.js Outdated Show resolved Hide resolved
test/test_issue325.js Outdated Show resolved Hide resolved
test/test_issue325.js Outdated Show resolved Hide resolved
test/test_issue325.js Outdated Show resolved Hide resolved
test/test_issue325.js Outdated Show resolved Hide resolved
@kaizhu256
Copy link
Member Author

please wait for merge, adding one more commit to test for infinity upper-bound

test/test_issue325.js Outdated Show resolved Hide resolved
test/test_issue325.js Outdated Show resolved Hide resolved
- update test to include CAST(1.7976931348623157e+308 AS REAL)
- add test-case to verify infinity upper-bound
- Co-authored-by: Christopher J. Brody <chris.brody at gmail.com>
test/test_issue325.js Outdated Show resolved Hide resolved
test/test_issue325.js Outdated Show resolved Hide resolved
test/test_issue325.js Outdated Show resolved Hide resolved
@lovasoa lovasoa merged commit 30a554c into sql-js:master Apr 4, 2020
@brodycj
Copy link
Contributor

brodycj commented Apr 5, 2020

Thanks to @kaizhu256 for taking care of this and for getting it right!

I noticed that GitHub does not detect me as co-author, I think it is because the line starts with a dash. Nothing major but maybe something to watch for in the future.

Again 🍾 🎉 thanks!

@kaizhu256
Copy link
Member Author

Sorry about the credits @brodybits ^^;;;

lovasoa added a commit that referenced this pull request Apr 5, 2020
niurkacanals added a commit to niurkacanals/Dev-container-sql that referenced this pull request Sep 2, 2022
brendasmith8 pushed a commit to brendasmith8/sql-database-server-develop that referenced this pull request Sep 22, 2022
bestreviewsbookssoftware08 added a commit to bestreviewsbookssoftware08/sql.js that referenced this pull request Aug 25, 2024
topoftheblog33 added a commit to topoftheblog33/sql.js that referenced this pull request Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sqlite3_column_double is lossy
3 participants