home.social

#perfectsquare β€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #perfectsquare, aggregated by home.social.

  1. Some math nerdery: #Year2025 is a #PerfectSquare of 45. that is, 45 * 45 = 2,025.

    The last time this happened was in 1936 (44 * 44), and #Nazism and #Fascism was on the rise then, too.

    The next time it will happen is 46 * 46, or the #Year2116, that is 91 years from now.

  2. Some math nerdery: #Year2025 is a #PerfectSquare of 45. that is, 45 * 45 = 2,025.

    The last time this happened was in 1936 (44 * 44), and #Nazism and #Fascism was on the rise then, too.

    The next time it will happen is 46 * 46, or the #Year2116, that is 91 years from now.

  3. Some math nerdery: #Year2025 is a #PerfectSquare of 45. that is, 45 * 45 = 2,025.

    The last time this happened was in 1936 (44 * 44), and #Nazism and #Fascism was on the rise then, too.

    The next time it will happen is 46 * 46, or the #Year2116, that is 91 years from now.

  4. Some math nerdery: #Year2025 is a #PerfectSquare of 45. that is, 45 * 45 = 2,025.

    The last time this happened was in 1936 (44 * 44), and #Nazism and #Fascism was on the rise then, too.

    The next time it will happen is 46 * 46, or the #Year2116, that is 91 years from now.

  5. Some math nerdery: #Year2025 is a #PerfectSquare of 45. that is, 45 * 45 = 2,025.

    The last time this happened was in 1936 (44 * 44), and #Nazism and #Fascism was on the rise then, too.

    The next time it will happen is 46 * 46, or the #Year2116, that is 91 years from now.

  6. What is the most efficient way to *check* if an unsigned integer on 32/64 bits is a #perfectSquare? (For example in C/C++/Rust.)
    Probably the use of sqrt floating point function, but in this case what is the first number that cause an incorrect answer due to the loss of precision?

    And the same question, only for odd numbers.