this post was submitted on 04 Jun 2023
7 points (100.0% liked)

Programming

13368 readers
2 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

Why use pi when you can use 🥧

fn main() {
    let pi_emoji = "🥧";
    let pi_value = 3.1415926535897932384626433832;

    println!("Let {} {:.28}", pi_emoji, pi_value);
}
no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here