Commit Graph

77 Commits

Author SHA1 Message Date
BillKek 6f50dd4aab fixed precision commit. was assert-fail on negative numbers. 2021-02-28 01:07:53 +03:00
Ayaan Khan e81bc16832
Merge pull request #611 from harshcut/infix_to_postfix
feat: add infix_to_postfix.c
2021-02-11 10:42:57 +05:30
Harsh Karande 34eea0aa0f
review: make get getPrecedence
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-11 10:29:16 +05:30
Ayaan Khan 1fb7bf023d
Merge pull request #677 from rachitbhalla/master
Implemented octal to hexadecimal conversion
2021-02-11 10:27:06 +05:30
Ayaan Khan e713be82c2
Merge pull request #744 from Suraj-Patro/patch-9
fix: Improved code formatting in conversions/octal_to_binary.c
2021-02-11 10:23:40 +05:30
Suraj Patro f23987e8ce
Update octal_to_binary.c 2020-10-30 22:09:02 +05:30
Nicola Masarone 8282804d68
Update binary_to_hexadecimal.c
Last printf() upper/lower case fix: from "THe" to "The" and from "Equivalent" to "equivalent"
2020-10-29 22:25:36 +01:00
Nicola Masarone b282b95d5b
fix: Update conversions/binary_to_decimal.c (#730)
First printf(): newline character changed from /n to \n
2020-10-29 15:06:30 -06:00
Harsh Karande 99076a25e6
Merge branch 'master' into infix_to_postfix 2020-10-21 17:11:03 +05:30
Harsh Karande b2522d2413 docs: update comments 2020-10-21 14:39:08 +05:30
Harsh Karande 5c03b36a12
fix: suggestions from review
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 10:17:00 +05:30
Chayoung You b8da721481
feat: Add another hexadecimal to octal conversion (#658)
* Add another hexadecimal to octal conversion

* Apply suggestions

Also changed the return type of `hex_to_oct` to `const char *`, as it
returns an address of static variable.

* Update comment of hexadecimal_to_octal2.c

* updating DIRECTORY.md

* Apply suggestions

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-20 21:00:03 -05:00
Rachit Bhalla f2c9fe3ee5 updated with the suggested changes 2020-10-20 10:49:16 +05:30
Harsh Karande 02845fabcc
feat: reviewer commit
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 09:56:59 +05:30
Harsh Karande c3142724fb fix: recognize bracket operator 2020-10-19 10:29:02 +05:30
Harsh Karande 4f37a67cbd feat: add source for algorithm explanation 2020-10-19 10:21:55 +05:30
Rachit Bhalla e2444cee18 updated with the suggested changes 2020-10-19 01:09:29 +05:30
Rachit Bhalla 19fb5ba4dd updated with the suggested changes 2020-10-19 00:53:48 +05:30
Rachit Bhalla 5e11041d41 added test cases and updated the documentation Fixes: #633 2020-10-18 23:48:36 +05:30
Rachit Bhalla 6b1c8e65be included stdio.h Fixes: #633 2020-10-18 18:11:49 +05:30
Rachit Bhalla 881e1e9a88 Implemented octal to hexadecimal conversion Fixes: #633 2020-10-18 18:00:23 +05:30
Vishnu P a050a48bfd
Added octal to binary conversion (#629)
* Added octal to binary conversion

* Update conversions/octal_to_binary.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update conversions/octal_to_binary.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Changes updated

* To trigger action

* updating DIRECTORY.md

* LGTM alert  fixed.

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-02 08:16:27 -04:00
Harsh Karande 9464b673fa docs: add header file docs 2020-10-02 12:47:20 +05:30
Harsh Karande 95b20556a0 docs: update for infix_to_postfix.c 2020-10-01 10:42:41 +05:30
Harsh Karande 66c8f7cbec fix: checks failed 2020-09-30 20:51:29 +05:30
Harsh Karande d7f0955930 feat: add infix_to_postfix.c 2020-09-30 20:34:51 +05:30
Du Yuanchao d71e601fd7
Merge pull request #586 from shellhub/feature
Convert integer to string
2020-07-31 22:14:15 +08:00
Krishna Vedala 0f95bd92f9 more docs 2020-07-31 13:49:33 +00:00
Krishna Vedala 98f9ae391f replaced itoa with snprintf & fixed other docs 2020-07-31 13:38:16 +00:00
shellhub 313a98085d int_to_string 2020-07-31 20:54:15 +08:00
Du Yuanchao f3bed0ed98
decimal to binary using recursion (#575)
* add decimal_to_binary_recursion.c

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-31 07:00:02 -04:00
Krishna Vedala 619620d65d
fix LGTM error - c_atoi
41e2711683/files/conversions/c_atoi_str_to_integer.c (xdba26cc5061d357d):1
2020-06-28 15:53:26 -04:00
Krishna Vedala 17c5523129
fix lgtm error
41e2711683/files/conversions/c_atoi_str_to_integer.c (xc388f8d8efa89fb4):1
2020-06-28 15:44:34 -04:00
github-actions 6f98288110 formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
github-actions 5347e6f87d formatting source-code for b1d92cbdda 2020-06-20 11:28:26 +00:00
Krishna Vedala f742e96b0e
Merge remote-tracking branch 'upstream/master' into merge_upstream 2020-06-17 19:12:50 -04:00
Mohammed YMIK 5cc83fe036 up to date 2020-06-12 16:53:37 +01:00
Mohammed YMIK 7b59c41453 Done 2020-06-12 16:45:11 +01:00
Mohammed YMIK ddc689a335 Done 2020-06-12 16:38:52 +01:00
Mohammed YMIK f0b872e979
Update author 2020-06-12 16:13:32 +01:00
Mohammed YMIK 18c677d6a5 Add doc, signature, indentation 2020-06-12 16:11:41 +01:00
Mohammed YMIK 32c725603f add atoi that convert string to integer 2020-06-12 14:56:57 +01:00
Krishna Vedala aa98625b45 find openmp declared required only once
added subfolders after finding openmp
2020-05-31 10:49:26 -04:00
github-actions 0779a2b70d formatting source-code for b388e4a309 2020-05-29 20:23:24 +00:00
Krishna Vedala b1e1923580 check if math library is available and include if present 2020-05-29 14:04:14 -04:00
Krishna Vedala 9165932928 Revert "use integer version of pow"
This reverts commit a976666868.
2020-05-29 13:50:48 -04:00
Krishna Vedala d4f202cbea force include math library for each target 2020-05-29 13:49:28 -04:00
Krishna Vedala e7b4a8c522 force target link with "math" library 2020-05-29 13:45:03 -04:00
Krishna Vedala a976666868 use integer version of pow 2020-05-29 13:42:05 -04:00
Krishna Vedala 1c5a699340 remove function_timer from all compilations 2020-05-29 10:47:36 -04:00