Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Solving math equations

by rbc (Curate)
on Nov 10, 2002 at 05:18 UTC ( #211725=note: print w/replies, xml ) Need Help??

in reply to Solving math equations

Well if X or Y cannot equal one what would happen if X * Y = 3? Or if X * Y = prime number. Are you trying to write a function that return non-prime numbers? How will you check for primes? So are you writting a function that will calucate prime numbers? I guess I don't understand your question.

Replies are listed 'Best First'.
Re: Solving math equations
by FireBird34 (Pilgrim) on Nov 10, 2002 at 05:26 UTC
    Thanks BrowserUk -- I've about had it for tonight, so I'll try my hand at this again in the morning. If for some reason I still can't get it, I'll post back. However, with what is posted, I should have it. Thanks again.

    Also, rbc -- don't worry about it now. BrowserUk answered the part that had me stumped.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211725]
[Corion]: hippo: Yes, but I'm not sure that it's even worth the effort of implementing it at all...
[Corion]: You'll only ever need that option if you have a long-running query whose results are not cached by your DB already, and in those cases I presume that the programmer will want to maintain the temporary tables themselves - I wouldn't know when to drop ...
[Corion]: ... the temporary tables, and also don't have a good idea on how to create unique table names for them
[hippo]: OIC. In that case leave it out but invite feature requests and see if any of the users suggest it. :-)
[Corion]: Talking about this makes me realize that it's likely only a half useful idea. But it still would be convenient to have as an option...
[Corion]: hippo: Hmmm - yeah, I could document it and wait for code implementing that option to show up ;-D

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2017-02-23 15:36 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (347 votes). Check out past polls.