-
Notifications
You must be signed in to change notification settings - Fork 47
Added isnan, isinf, and isclose #105
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
Merged
Merged
Changes from all commits
Commits
Show all changes
118 commits
Select commit
Hold shift + click to select a range
a5f387a
added new tests (for already existing functions)
af08dc3
error running c++ test
74fd57d
error running c++ test
05d2d61
fixed part of c++ test
3af53a8
errors running python test
fdbbba5
testing wrong list
160ad79
can't do arithmetic
fe25196
testing isinf
878ee15
rewrote isinf (using CreateICmpEQ)
a857327
I'm an idiot
b264ce5
added tests for isclose and finished up create isnan
481faad
added create isnan to .h file
33ae114
fixed error in mathfunctionstest
2277fcc
c++ isnan test failing
3b7408e
c++ isnan test failing
8c265ec
c++ isnan test failing
5aaa720
still not working
503fc5e
hm not sure what's happening
fe23e41
hm not sure what's happening
5aad1ac
hm not sure what's happening
3bee044
added isnan to math module
1c62647
was using integer cmp instead of float cmp
168961a
not sure why assert is failing
b6046ad
see if this works
46533e6
IT PASSED
132b2fa
:wq
7fe9c72
fixed errors
07dd9ed
reverting
2478be1
python float is c++ double
b93096b
using nan() instead
f73d101
debugging
5c6e7ca
debugging
2f33a91
debugging
c2b03d5
debugging
0f675d7
debugging
45fecb7
updated to check against both NANs
fd447e8
fixing errors
443c068
fixing errors
d7cadfe
THEY PASSED
10a3d1d
updated isnan c++ test
93511bb
updated isnan c++ test
7fb32e4
added check for typing in isnan
c0a42de
accidentally commented out cos
9bf5ed0
debugging
0f04e05
type check not working
af072b9
type check still not working
b6d079a
added isinf, updated python and c++ tests
986ec76
forgot to use constants
05534cf
forgot to write declarations in other files
e5644a0
flattened tuple error again
499e3e5
inf cases failing
767b6f1
added llvm for isclose
aletheia094 fc17c6d
forgot to add to standard modules and header again
f7b4970
added back isclose c++ tests
25c8bb5
updated gitignore
f633942
merge
aletheia094 5074563
reverted tests
aletheia094 d50385a
T->t F->f
aletheia094 433f976
should have been infinity * 0
aletheia094 c61513f
take tests one by one
aletheia094 dd5f153
test 2
aletheia094 73399ba
was returning int constant instead of bool constant
aletheia094 8a66216
updated isinf and isnan
aletheia094 4b72c92
fixing errors
aletheia094 4d0414c
fixing errors
aletheia094 db43cde
confused
aletheia094 b707daa
confused
aletheia094 acce530
updating testing to use doubles
aletheia094 62c0292
removed inf + inf tests from c++ tests
aletheia094 70ed85e
updated isinf to handle types
aletheia094 30e6ea0
updated isinf to actually define 'type'
aletheia094 2bc850d
implementing isclose; testing ints for isnan and isinf
aletheia094 c95bbf5
ignoring isclose for now
aletheia094 debdbe8
fixing errors
aletheia094 bba35ec
fixing errors
aletheia094 4de1a0b
debugging
aletheia094 bbe876b
debugging
aletheia094 0f21814
testing all for isinf and isnan
aletheia094 d68c247
c++ tests passing for isinf/isnan; implementing isclose
aletheia094 a46c99d
added pseudocode logic for isclose optimization
aletheia094 f7175ca
updated isclose c++ test
aletheia094 f23899b
still building isclose
aletheia094 8dbb718
still working on isclose
aletheia094 794388d
stuck on phi nodes
aletheia094 0c6b76b
last case for isclose
aletheia094 e421c9f
last case of isclose
aletheia094 ec7db5f
finished writing isclose
aletheia094 0a3114b
started typing for isclose
aletheia094 296633a
finished typing for isclose, moving to testing
aletheia094 0696ed6
testing isclose in c++, isinf/isnan in python
aletheia094 d56bfdc
updated all python tests, fixed llvm errors with isclose
aletheia094 bc6ba94
added debug prints to isclose; increased precision to 12 dp
aletheia094 4558d45
added todos based on PR comments
aletheia094 6275b24
testing isclose
aletheia094 a47ab3a
debugging isclose
aletheia094 d1cda43
debugging isclose
aletheia094 3e3ea7c
debugging isclose
aletheia094 3a0f2fe
debugging isclose
aletheia094 e711847
debugging isclose
aletheia094 542dd6b
debugging isclose
aletheia094 f9d35a4
debugging isclose
aletheia094 4814a8f
debugging isclose
aletheia094 fa7b06e
updated todos
aletheia094 ec8e2bb
added integer optimizations
aletheia094 5b92f05
all c++ tests passing
aletheia094 bc5cacf
pythhon tests failing for inf values
aletheia094 462eaa1
added error checking, updated math module constants
aletheia094 1768e93
need to figure out what version of infinity python is using
aletheia094 8a3d51c
all tests passing
aletheia094 c13c09a
double infinity is being passed in for both python and c++ tests
aletheia094 b043e56
trrying to step to where math.inf is parsed
aletheia094 3607f51
all tests passing, added print hex helper
aletheia094 a2c4063
retrigger checks
aletheia094 eb9a574
Merge branch 'tuplex:master' into dev
aletheia094 989bd51
added Werkzeug==2.1.2
aletheia094 d928ff0
added Werkzeug==2.1.2 to root level setup
aletheia094 8f03cec
added changges to setup.py files/deps for CI fix
aletheia094 14c51ee
resolved comments for merge
aletheia094 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -94,3 +94,6 @@ wheelhouse/ | |
| *.zip | ||
| tuplex/other/tplxlam.zip | ||
| fixed_wheels/ | ||
|
|
||
| tuplex/.vscode/ | ||
| .vscode/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.