Commit Graph

54 Commits

Author SHA1 Message Date
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
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
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
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
Krishna Vedala
6385b0223e Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	.travis.yml
#	DIRECTORY.md
#	README.md
2020-05-22 21:06:10 -04:00
LethargicLeprechaun
6f20588fdb Added octal to decimal 2020-05-02 17:52:26 +01:00
Krishna Vedala
1d8d07efc9
gets not a C11 standard, superceded by fgets 2020-04-08 09:45:12 -04:00
Krishna Vedala
1b826807ed
code cleanup to prevent gcc warnings 2020-04-08 09:41:12 -04:00
Krishna Vedala
e0a78dfa4c
openmp in conversions folder 2020-04-07 19:28:48 -04:00
Krishna Vedala
0c86721f4a
better way to link libraries 2020-04-07 00:00:04 -04:00
Krishna Vedala
45398453be
First working cmake 2020-04-06 23:50:46 -04:00
cclauss
ecb73860a3 Fix filenames for DIRECTORY.md 2020-01-09 10:27:32 +01:00
Ashwek Swamy
9da370426c
Rename decimal_to_octal_recursion to decimal_to_octal_recursion.c 2019-11-02 16:19:50 +05:30
Aromal Anil
93f68d0c36
Created algorithm to convert binary to octal.
This contatin algorithm to convert binary to octal using recursion
2019-10-27 14:54:24 +05:30
Shubham Saini
05d0323ed3
fixing typo 2019-10-12 13:53:52 +05:30
Shubham Saini
4c75a67651
Create hexal_to_octal.c 2019-10-04 14:34:44 +05:30
Ashwek Swamy
5ea87473d9
Delete a.out 2019-06-12 18:25:33 +05:30
iamAafil
30364389ef change sol1.c 2019-06-10 22:48:42 +05:30
Ashwek Swamy
2fde23c6ed
Merge pull request #192 from Manoj7117/patch-1
number invalid if number >= base
2019-03-22 08:42:42 +05:30
Ashwek Swamy
28e13c66f3
Merge pull request #161 from Aditibansal2603/master
Update binary_to_decimal.c
2019-02-11 05:43:09 +05:30
Manoj7117
37314fb5bf
number invalid if number >= base 2018-10-24 22:19:42 +05:30
Anup Kumar Panwar
444d4b11d5 Refactor 2018-10-08 21:18:35 +05:30
Aditibansal2603
a9d91b4c31
Update binary_to_decimal.c 2018-10-06 00:04:48 +05:30
Christian Bender
6c5128e2cd improved code 2018-03-28 18:11:54 +02:00
Christian Bender
21dab04b09
fixed a bug and refactoring
If user type in 0 the output was empty. This bug is fixed. 
In addition I refactored and documented the code.
2018-03-18 23:42:43 +01:00
DEBASISH SAHOO
264fd91af9
added binary to hexadecimal conversion 2018-01-28 18:45:09 +05:30
Christian Bender
d43e80fa44
Merge pull request #51 from jebinphilipose/bin-to-oct
Thanks for contributing
2017-12-27 14:10:28 +01:00