You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
“吾有一數”,"昔之「戌」者。今其是矣". 可能太長了。可否簡略為
有數甲值三 int a = 3;
有數乙值百萬 int b = 1e6;
有率丙者甲除以乙也 float c = (float)a/(float)b;
此处以“数”代表整型,以“率”代表浮点型。也可以不给初值
有率丙 int c;
丙者甲除以乙也 c = (float)a/(float)b;
<九章算术> 云
〔一一〕今有惡粟二十斗,舂之,得糲米九斗。今欲求粺米十斗,問︰惡粟幾何?
荅曰:二十四斗六升、八十一分升之七十四。
術曰:置糲米九斗,以九乘之,為法。亦置粺米十斗,以十乘之,又以惡粟二十斗乘之,為實。實如法得一斗。
The text was updated successfully, but these errors were encountered: