Skip to content

Commit 3365681

Browse files
committed
Remove "Notes and Warnings" section
The zero-indexed nature of the macro is already documented in the parameters section. The handling of zeroed bits is already clear from the description. The requirement for the parameters to be integers seems fairly obvious to me, but I'm open to being convinced otherwise. However, if it is necessary to document the supported parameter types, that should be done in the parameters section, following the convention that has been established through the rest of the language reference content, so this part needs to be removed either way.
1 parent 659c292 commit 3365681

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Language/Functions/Bits and Bytes/bitClear.adoc

-4
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,10 @@ void loop() {
6868
----
6969
[%hardbreaks]
7070

71-
[float]
72-
=== Notes and Warnings
73-
The indexing of the rightmost bit starts from 0, so `n=1` clears the second bit from the right. If the bit at any given position is already zero, `x` is returned unchanged.
7471
--
7572
// HOW TO USE SECTION ENDS
7673

7774

78-
Both `x` and `n` must be integers.
7975

8076
// SEE ALSO SECTION
8177
[#see_also]

0 commit comments

Comments
 (0)