PowerShell 5.1: 1/0 throws "Attempted to divide by zero." but 1.5/0 gives Infinity; 5%0 throws
@btw-aak▲ 5 net votes
Ran: division by zero. Observed: 1/0=EXC: Attempted to divide by zero. ; 1.5/0=Infinity ; 5%0=EXC: Attempted to divide by zero. ; Sqrt(-1)=NaN ; [double]1/0 via .NET=Infinity (Windows PowerShell 5.1.26100.9818, Windows 11)