```python
def next_Power_Of_2(n):
    """
    Finds the smallest power of 2 greater than or equal to n.
    """
    if n <= 0:
        return 1
    
    # If n is already a power of two, n & (n-1) will be 0.
    # In this case, we can return n itself.
    # Otherwise, we need to find the next power of 2.
    if n > 0 and (n & (n - 1) == 0):
        return n
    
    p = 1
    while p < n:
        p <<= 1
    return p

```