kcrossen
kcrossen
As you may see from my own github repositories, I use github about the way I used sourceforge. Y'all seem to think I'm operating at something approximating your level of...
I've been through all of this w/ AWS C++ SDK folks. They cheerfully acknowledged that their SDK didn't compile at all under any circumstance/OS for Android. I produced a working...
Not manly enough maybe.
Big ask. Github, as you say may be easy to learn, but it's just the tip of a massive iceberg. To contribute usefully to calc in the desired manner, I'd...
One regrettable aspect is that my comment about punch cards/patch boards was meant as a figure of speech. My wife occasionally cautions me about my sense of humor. We would...
Q&D in Qt: ` QString test_protect_inheritance = ""; test_protect_inheritance += "/* At least two possible failure modes:\n"; test_protect_inheritance += " * 1) Defeats original functionality\n"; test_protect_inheritance += " * 2)...
` // char* hex_float_c_str; // PCRE validator of input: // "[+-]?0x[0-9a-f]+([.][0-9a-f]+)?(p[+-]?[0-9]+)?" // Test examples // char* example_hex_float = "+0x1.921fb54442d18p+0001"; // char* example_hex_float = "+0x0.0000000000000p+0000"; // char* example_hex_float = "+0x0.0000000000001p+0000"; //...
Testing usefulness in Calc (my version): QString test_commands = ""; test_commands += QString("test_value=") + QString::number(numerator) + "/" + QString::number(denominator) + ";"; RPN_Commands_Execute(test_commands); QString test_result = Trim_Calc_Result(Calc_Evaluate("round(test_value, 32);")); qDebug()
The above code will "overflow" or "underflow" because of the limitations of long long, so: ` // char* hex_float_c_str; // PCRE validator of input: // "[+-]?0x[0-9a-f]+([.][0-9a-f]+)?(p[+-]?[0-9]+)?" // Test examples //...
Added test for "overflow": // char* hex_float_c_str = "+0x1.921fb54442d18abcdefp+0001";