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

Programming

568 readers
1 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