• Eufalconimorph@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago
    int const golden = 1.618;
    int* non_constant = (int*)&golden;
    golden = 1.61803399;
    

    Casts are totally not a danger that should require a comment explaining safety…