Skip to main content

Timeline for Shift right by half a bit

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
Jan 26, 2020 at 19:14 comment added Olivier Grégoire They are fine! No worries: it was just informative :-)
Jan 26, 2020 at 16:12 comment added Kevin Cruijssen @OlivierGrégoire Thanks for -2! And didn't knew that about the API. I figured all internal imports that are available in Java were fine, but external not.
Jan 26, 2020 at 16:11 history edited Kevin Cruijssen CC BY-SA 4.0
added 61 characters in body
Jan 26, 2020 at 11:21 comment added Olivier Grégoire Use n.precision() instead of (n+"").length() to save two bytes. Also, just for the sake of clarifying the language and the API, the Java 9 solution goes the extra mile since BigDecimal is not part of the language but of the API, and the challenge speaks only about language.
Jan 24, 2020 at 8:46 history edited Kevin Cruijssen CC BY-SA 4.0
added 833 characters in body
Jan 24, 2020 at 8:31 history answered Kevin Cruijssen CC BY-SA 4.0