[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.15768448 [View]
File: 10 KB, 715x199, file.png [View same] [iqdb] [saucenao] [google]
15768448

>>15767215
0. If 0 is unsigned, let f(0) be 0.
1. Enumerate every floating point number.
2. Let the function send the smallest positive number to the second smallest positive number.
3. Let the function send the second smallest number to the largest negative number.
4. Let the function send the largest negative number to the second largest negative number.
5. Let the function send the second largest negative number to the smallest positive number.
6. If there are numbers left, return to step 2.
Picrel is how this function would work if there were only nine floating point numbers including unsigned 0.

Navigation
View posts[+24][+48][+96]