|
I'm having a hard time teaching him division of decimals such as:
1 / .04
We are using MM5, and I for the first time we are finding her explanation lacking.
He thinks that since you are dividing, the answer has to be less than one.
I'm having a hard time...
Started by my2boysteacher on
, 10 posts
by 6 people.
Answer Snippets (Read the full thread at welltrainedmind):
FWIW, I love.
Maybe we'll skip decimals and move on to fractions, and revisit decimals later.
Point.
|
|
I have some code to convert a time value returned from QueryPerformanceCounter to a double value in milliseconds, as this is more convenient to count with.
The function looks like this:
double timeGetExactTime() { LARGE_INTEGER timerPerformanceCounter...
Started by Adion on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Also works well, at least as long as my program doesn't run longer than a week or so without restarting.
|
|
I need some division algorithm which can handle big integers (128-bit). I've already asked how to do it via bit shifting operators. However, my current implementation seems to ask for a better approach
Basically, I store numbers as two long long unsigned...
Started by Etan on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
long of decimals (1/24 is for instance 0.041 ...) and can therefore interfere with the fourth term in your as four 32-bit numbers:
A....
You shouldn't be using long double for your "normal divisions" but integers there as well.
|
Ask your Facebook Friends
|
I have two unsigned long longs X and Y, where X < Y, but both may be very large. I want to compute the first digit past the decimal point of X / Y. For example, if X is 11 and Y is 14, then 11 / 14 is .785…, so the result should be 7.
(X * 10) / Y ...
Answer Snippets (Read the full thread at stackoverflow):
Edit still compare two possibly overflowed ints as long as you know that the difference between the two namespace std; typedef....
division:
(long)((long)10*R/Y)
This should round down the numbers and drop any extra decimals.
|
|
Heres how DLD2 lines up for 2008/09...
Attachment:
dld2180808.JPG [ 55.52 KiB | Viewed 1651 times ]
For more comprehensive updates please visit the DLA website at http://www.drunkenleague.co.uk .
Game on
Started by The Ledge on
, 30 posts
by 10 people.
Answer Snippets (Read the full thread at fiso):
Ian Herbert* 57 2202
3 Martini on da rock Mr Martyn Long 57 2275
4 The Puddloflajs Mr Mark Telford showing as 105th on 54 (actually 54.2) but that might be =94th, depends on the decimals which CleverTV
17 Mr Martyn Long Martini on....
|
|
Ds10 is a very strong reader, and pretty solid in math. We're using mainly Math Mammoth at the moment, strengthening his work in division, etc. Looking ahead, I would really love to make good use of the Life of Fred series, since I think it would be a...
Started by momto2Cs on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at welltrainedmind):
If you go all the way through Math Mammoth and do Fred Fractions and Decimals and Percentages now-12-year-old son was in 5th grade Horizons and then started on Fred Fractions, Decimals, and the 2.
|
|
On Mon, 16 Mar 2009 22:40:26 -0400, "David" <dw85745NOT@earthlink.net
I'm erring because the whole number cumulative total is greater than
the long data type.
Any suggestions on how to handle in VB?
Started by David on
, 10 posts
by 6 people.
Answer Snippets (Read the full thread at omgili):
And if that all is not enough for you, you could create your
own huge type of "Learning"
How would you go about... .
On Tue, 17 Mar 2009 13:55:10 +0100, "Claus Centrino" <cc58@sofort-mail.de
A Long value has not to have no decimals.
|
|
Someone emailed to ask me why I am doing this. It is simple it is to
show that most all of Christianity has the wrong message, they are not
preaching Christ. Theirs is a message of kingdom building or very
often these days with the pressures of the world...
Started by sososo___@hotmail.com on
, 6 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
Rom 13:2 Whosoever ....
For there
is no power but of God: the powers that be are ordained of God .
On Sun, 8 Feb 2009 16:27:10 -0800 (PST), "Weatherman@jackass.com" <tadlnelson@gmail.com
WM-
Rom 13:1 Let every soul be subject unto the higher powers .
|
|
I am considering writing two limited precision alternatives to BigDecimal, namely DecimalInt and DecimalLong. These would be capable of dealing with numbers within the real bounds of int and long with an arbitrary number of decimal places, creatable in...
Started by Software Monkey on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
For handling money, then this is usually done by holding integer (long if necessary) numbers of cents.
|
|
On 23 May 2009 18:28:51 GMT, david <david@somewherebutwhocares.net
On 22 May 2009 david read the alt.fiftyplus post of Chakolate, which
stated...
does it have to go to college to be able to do that? It took me quite a
while before I could do...
Started by david on
, 4 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
On 23 May 2009 20:27:07 GMT, david <david@somewherebutwhocares.net
On 23 May 2009 david read... .
--
Mick.
On Sat, 23 May 2009 19:51:02 +0100, Mick Fanner <mick.fanner@gmail.com
I took to that like a snail takes to non-logarithmic shells .
|