16 lines · 340 B · Text
RawDownload
// big number1000000000000000000000000000.0 => float n;// overflow itrepeat( 20 ) n *=> n;// test it<<< Math.isinf( n ) >>>;// bye sanity0 *=> n;// test it<<< Math.isnan( n ) >>>; // more<<< 1.0 / 0.0 => Math.isinf >>>;<<< 0.0 / 0.0 => Math.isnan >>>;<<< Math.INFINITY, -Math.INFINITY >>>;<<< Math.INFINITY => Math.isinf >>>;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t