Fundamental Transformation/Operation that'll be performed on every bit.
(c: int)
| 7 | """ |
| 8 | |
| 9 | def brightness(c: int) -> float: |
| 10 | """ |
| 11 | Fundamental Transformation/Operation that'll be performed on |
| 12 | every bit. |
| 13 | """ |
| 14 | return 128 + level + (c - 128) |
| 15 | |
| 16 | if not -255.0 <= level <= 255.0: |
| 17 | raise ValueError("level must be between -255.0 (black) and 255.0 (white)") |
nothing calls this directly
no outgoing calls
no test coverage detected