Essentially, yes. When you compare the inverse of 27, 27227, 27272, etc. with any of the others that I listed above, it doesn't seem to be inserting either zeros or other digits as the above numbers do.Kazimir Majorinc wrote:When you speak about problems with 27, that means that 1/27 doesn't make nice output, right?
Search found 126 matches
- Tue May 04, 2010 12:50 pm
- Forum: Anything else we might add?
- Topic: A Little NUmber Curiosity
- Replies: 4
- Views: 5357
Re: A Little NUmber Curiosity
- Sat May 01, 2010 4:07 pm
- Forum: Anything else we might add?
- Topic: A Little NUmber Curiosity
- Replies: 4
- Views: 5357
Re: A Little NUmber Curiosity
You are so right. And it's also a little square.cormullion wrote: 9 is a bit odd in my view.
- Fri Apr 30, 2010 12:11 pm
- Forum: Anything else we might add?
- Topic: A Little NUmber Curiosity
- Replies: 4
- Views: 5357
A Little NUmber Curiosity
Recently, I was doing some number crunching that involved 9 and multiples thereof. Just for fun, look at the digits for the INVERSE of each of these numbers. The "special properties" (whatever that might mean) of 9 have been studied and used since ancient times. In the numbers below, they mostly sho...
- Mon Feb 15, 2010 8:50 am
- Forum: Anything else we might add?
- Topic: Newlisp Forum Members Trend.
- Replies: 5
- Views: 6750
Re: Newlisp Forum Members Trend.
so, how did you collect this data, manually or use some nl script? What is this symbol E if formula y=2E+.... and what is R^2?? It was long ago when I worked with math..... :-) The correlation coefficient for a simple linear regression like these tells you how much of the variability in the Y-value...
- Wed Sep 16, 2009 11:52 am
- Forum: Anything else we might add?
- Topic: --- newLISP JOBS ---
- Replies: 3
- Views: 4459
- Fri Jul 31, 2009 7:00 am
- Forum: Whither newLISP?
- Topic: Benchmarking
- Replies: 23
- Views: 21823
- Tue Apr 07, 2009 4:53 pm
- Forum: newLISP in the real world
- Topic: self-destruct
- Replies: 5
- Views: 3451
Heheh.. Well actualy "being Lucky at self-destruct" is partly a good function as you can only do it ones, I tried indeed the harakiri but I did not want to involve a 2nd party... PS the above is about a newlisp function..just to make that clear ;-) PPS Harakiri is an individual action where the Sep...
- Mon Apr 06, 2009 5:33 pm
- Forum: Whither newLISP?
- Topic: newLISP Challenge: The seemingly simple 'my-or'
- Replies: 37
- Views: 36662
How did you get those results? With that code the second argument is always evaluated, therefore producing this result: (my-or temp nil) = 45 (my-or nil temp) = 45 ----------- first arg second arg should be 1: 1 ----------- first arg second arg should be 2: 2 Ah, my bad. You're right. I didn't look...
- Mon Apr 06, 2009 11:32 am
- Forum: Whither newLISP?
- Topic: newLISP Challenge: The seemingly simple 'my-or'
- Replies: 37
- Views: 36662
- Thu Mar 12, 2009 7:09 pm
- Forum: newLISP Graphics & Sound
- Topic: (fwd)potential bug in REPL in newLISP-GS in newLISP v.10.0.1
- Replies: 15
- Views: 16448
The problem with [cmd][/cmd] tags in the newLISP-GS Java front-end has been fixed. Download a new guiserver.jar from: http://www.newlisp.org/download/development/guiserver.jar and install on Win32 as: $PROGRAMFILES/newlisp/guiserver.jar or install on Mac OS X and other Unix as: /usr/share/newlisp/g...
- Wed Mar 11, 2009 8:50 am
- Forum: newLISP Graphics & Sound
- Topic: (fwd)potential bug in REPL in newLISP-GS in newLISP v.10.0.1
- Replies: 15
- Views: 16448
Re: (fwd)potential bug in REPL in newLISP-GS in newLISP v.10
I am running newLISP 10.0.0 on WIN 32 IPv4 and newLISP-GS 1.24 on Win XP pro SP2 Your code [cmd] (define (foo x y) (+ x y)) [/cmd] runs fine in both a console and in newLISP-GS. According to the error message, it appears that when you run the code from GS, the two trailing right parentheses have som...
- Sat Feb 07, 2009 7:08 pm
- Forum: newLISP newS
- Topic: Promoting my blog.
- Replies: 61
- Views: 51261
- Mon Feb 02, 2009 5:41 pm
- Forum: newLISP newS
- Topic: Promoting my blog.
- Replies: 61
- Views: 51261
- Thu Jan 29, 2009 8:41 pm
- Forum: Anything else we might add?
- Topic: My recent challenge for Common Lispers.
- Replies: 5
- Views: 6631
- Tue Jan 27, 2009 11:04 pm
- Forum: newLISP newS
- Topic: The 9.4.0 newLISP manual
- Replies: 68
- Views: 48735
Maybe someone could write a post explaining how modernizing the antiquated... As I recall, they like to remind those that question the CL dogma that they have a "Standard". While standards usually have a positive aspect, it seems to me that the standard bearers are so afraid of breaking any existin...
- Wed Jan 21, 2009 7:46 pm
- Forum: newLISP and the O.S.
- Topic: directory? vs. file? on WIN32
- Replies: 4
- Views: 5527
Re: directory? vs. file? on WIN32
The other issue is whether a directory or file can end with "/". I've no idea, it could be a Windows-specific thing. More Windows inconsistencies... On XP, navigate to any folder and attempt to rename it with a backslash or front slash on the end. The error message is A filename cannot contain any ...
- Wed Jan 21, 2009 6:28 pm
- Forum: newLISP and the O.S.
- Topic: directory? vs. file? on WIN32
- Replies: 4
- Views: 5527
directory? vs. file? on WIN32
Why is there this subtle difference in results? (set 'test-dir1 "C:/Program Files/programming") (set 'test-dir2 "C:/Program Files/programming/") (directory? test-dir1) -->true (directory? test-dir2) -->true (file? test-dir1) -->true (file? test-dir2) -->nil The manual states for true? This function ...
- Sun Jan 18, 2009 9:08 pm
- Forum: newLISP newS
- Topic: double quotes
- Replies: 7
- Views: 5299
- Sun Jan 18, 2009 9:05 pm
- Forum: newLISP Graphics & Sound
- Topic: starting java using process
- Replies: 19
- Views: 19348
From what I was able to extract form your earlier posts, you did not install newLISP to the default settings. So, perhaps when you were moving things around, not all your paths match where your target files reside. For example, on my installation using the default settings, I have ("NEWLISPDIR" "C:\...
- Sat Jan 17, 2009 8:10 am
- Forum: newLISP newS
- Topic: double quotes
- Replies: 7
- Views: 5299
- Thu Jan 15, 2009 11:02 am
- Forum: newLISP newS
- Topic: Inconsistent syntax of "case"
- Replies: 21
- Views: 14862
Why does letex create a variable that seems to get evaluated? Because letex creates new expression such that x is replaced with its value, and evaluates that new expression. These two are equivalents ( letex = let & ex pand.) (println (letex ((x 3)) (+ x 3))) (println (let((x 3)) (eval (expand '(+ ...
- Thu Jan 15, 2009 10:52 am
- Forum: newLISP newS
- Topic: Inconsistent syntax of "case"
- Replies: 21
- Views: 14862
- Wed Jan 14, 2009 10:35 pm
- Forum: newLISP newS
- Topic: Inconsistent syntax of "case"
- Replies: 21
- Views: 14862
I think letex is perfect for that. Something like (but I didn't tested it) (letex ((y (string mystring x))) (case str-to-match (y (string "found" x)))) Lutz did few such things really hitting the target. Now that is very interesting! Why does letex create a variable that seems to get evaluated? Thi...
- Wed Jan 14, 2009 7:04 pm
- Forum: newLISP newS
- Topic: Inconsistent syntax of "case"
- Replies: 21
- Views: 14862
My original gripe was that exp-1 implied that it was evaluated. It would've been better to call it const-1 so that you get: (case exp-switch (const-1 body-1) [(const-2 body-2) ... ]) You see "const" then you know that you cannot put an expression there. I know it seems a petty matter to those alrea...
- Wed Jan 14, 2009 6:08 pm
- Forum: newLISP newS
- Topic: Inconsistent syntax of "case"
- Replies: 21
- Views: 14862
Let's just say the 2nd argument "did not need to be" evaluated instead of "never" because it could have been evaluated if we wanted to. Just that the results will not be used. I don't think that is correct for newLISP. My understanding is that in the case where the first argument is true, it is imp...