Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Confusing math problem

Reply
Thread Tools

Confusing math problem

 
 
Serhiy Storchaka
Guest
Posts: n/a
 
      02-22-2013
On 22.02.13 11:16, Steven D'Aprano wrote:
> On Fri, 22 Feb 2013 08:23:27 +1100, Chris Angelico wrote:
>> and you can cast out 1's in binary to find out if it's a
>> multiple of 1, too.

>
> O_o
>
> I wanna see the numbers that aren't a multiple of 1.


What "to be a multiple of" means? If A is a multiple of B means A % B ==
0, then 0.5 isn't a multiple of 1.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Math.random() and Math.round(Math.random()) and Math.floor(Math.random()*2) VK Javascript 15 05-02-2010 03:43 PM
Math.min and Math.max for byte / short Philipp Java 9 07-23-2008 12:37 AM
math.h trig functions questions (and some forgotten high school math) Mark Healey C Programming 7 05-22-2006 10:42 AM
Re: Is still math.h the C++ math library ? AciD_X C++ 4 04-01-2004 07:29 PM
Why can I not use: Math a=new Math(); chirs Java 18 03-02-2004 06:00 PM



Advertisments