nedoPC.org

Electronics hobbyists community established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 28 Mar 2024 08:04



Reply to topic  [ 7 posts ] 
The Ternary Manifesto, The Trillium Architecture. 
Author Message
Doomed
User avatar

Joined: 04 Jan 2016 09:15
Posts: 649
Location: Russia, S.- Peterburg
Reply with quote
The Ternary Manifesto

by Douglas W. Jones
THE UNIVERSITY OF IOWA Department of Computer Science

Posted to the web April 1, 2012.

http://homepage.cs.uiowa.edu/~dwjones/ternary/

"...
# To install this software on a Unix, Linux or MacOS system:
# 1) create a directory (e.g. with the shell command mkdir libternary)
# 2) change to that directory (e.g. with the command cd libternary),
# 3) direct the remainder of this text to sh (e.g. sh < thistext).
# This will make sh create files in the new directory; it will do
# nothing else (if you're paranoid, you should scan the following text
# to verify this before you follow these directions). Then read README
# in the new directory for additional instructions.
cat > README «\xxxxxFILEMARKxxxxx
README libternary source code distribution

Version 1.001, Jan 5, 2016
Author: Douglas W. Jones
http://homepage.cs.uiowa.edu/~dwjones/ternary/
douglas-w-jones@uiowa.edu
This file Copyright 2015: CC0, equivalent to public domain
See the Copyrights section below for more information.
..."

Attachment:
photo_2023-05-05_20-29-12_.jpg
photo_2023-05-05_20-29-12_.jpg [ 165.16 KiB | Viewed 4450 times ]


Archive has ternary library libternary.shar

Attachment:
Screenshot from 2023-05-05 18-55-36.png
Screenshot from 2023-05-05 18-55-36.png [ 197.24 KiB | Viewed 4365 times ]

_________________
"Ученье свет, а неученье — тьма. Дело мастера боится, и коль крестьянин не умеет сохою владеть — хлеб не родится." (С)


05 May 2023 10:33
Profile WWW
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
Reply with quote
Changed language to English (it's Ternary (ENG)) and also removed private information from screenshot

_________________
:dj: https://mastodon.social/@Shaos


05 May 2023 19:03
Profile WWW
Doomed
User avatar

Joined: 04 Jan 2016 09:15
Posts: 649
Location: Russia, S.- Peterburg
Reply with quote
Library libternary.shar

The archive has a ternary ternary library. The link is not downloaded.

To download the archive, make a "mirror" of the site:
Code:
>$ wget -m http://homepage.cs.uiowa.edu/~dwjones/ternary



Quote:
# You may have to edit this file to delete header lines produced by
# mailers or news systems from this file (all lines before these shell
# comments you are currently reading).

# Shell archive made by Douglas W. Jones on Wed Dec 30 14:02:41 CST 2015

# To install this software on a Unix, Linux or MacOS system:
# 1) create a directory (e.g. with the shell command mkdir libternary)
# 2) change to that directory (e.g. with the command cd libternary),
# 3) direct the remainder of this text to sh (e.g. sh < thistext).
# This will make sh create files in the new directory; it will do
# nothing else (if you're paranoid, you should scan the following text
# to verify this before you follow these directions). Then read README
# in the new directory for additional instructions.
cat > README <<\xxxxxFILEMARKxxxxx
README libternary source code distribution

Version 1.001, Jan 5, 2016
Author: Douglas W. Jones
http://homepage.cs.uiowa.edu/~dwjones/ternary/
douglas-w-jones@uiowa.edu
This file Copyright 2015: CC0, equivalent to public domain
See the Copyrights section below for more information.



List of files in the libternary directory:
Code:
$ tree -L 1
.
├── libter27.c
├── libter27.h
├── libter27io.c
├── libter27io.h
├── libter9.c
├── libter9.h
├── libter9io.c
├── libter9io.h
├── Makefile
├── README
├── terconst.c
├── test27.c
├── test27io.c
├── test927.c
├── test9.c
└── test9io.c

0 directories, 16 files



Testing

Build в Linux
Code:
$ make
cc -c libter9.c
cc -c libter27.c
cc -c libter9io.c
cc -c libter27io.c
ar rc libternary.a libter9.o libter27.o libter9io.o libter27io.o
ranlib libternary.a


TEST of the speed of ternary calculations
Code:
$ make test27io
cc test27io.c -L. -lternary
./a.out
Generate uter27_t test data
  addition with Fibonacci numbers
    up to 6557470319842
Generate bter27_t test data
  Addition with Fibonacci numbers
    up to 2504730781960
Consume uter27_t test data
    success
Consume bter27_t test data
    success
rm a.out


Tests implemented by the author of the library:
Code:
test27        test927
libter27io.h  libter9io.h   libternary.a  test27io      test9io
libter27io.o  libter9io.o   terconst      test9

_________________
"Ученье свет, а неученье — тьма. Дело мастера боится, и коль крестьянин не умеет сохою владеть — хлеб не родится." (С)


06 May 2023 02:38
Profile WWW
Doomed
User avatar

Joined: 04 Jan 2016 09:15
Posts: 649
Location: Russia, S.- Peterburg
Reply with quote
The Ternary Manifesto, The Trillium Architecture.

Library libternary.shar

The archive has a ternary ternary library. The link is not downloaded.

_________________
"Ученье свет, а неученье — тьма. Дело мастера боится, и коль крестьянин не умеет сохою владеть — хлеб не родится." (С)


06 May 2023 15:56
Profile WWW
Supreme God
User avatar

Joined: 21 Oct 2009 08:08
Posts: 7777
Location: Россия
Reply with quote
askfind wrote:
The Ternary Manifesto
by Douglas W. Jones
THE UNIVERSITY OF IOWA Department of Computer Science

http://homepage.cs.uiowa.edu/~dwjones/ternary/

For the first time, as far as I remember, links to the Douglas W. Jones's resource were mentioned
on our forum on Feb 14, 2016 here:
http://www.nedopc.org/forum/viewtopic.php?p=121644#p121644

So I don't see any special reason for such a solemn pathos of this post. :-?
Usually in such cases, we comment such a post with the word "BAYAN" ("accordion" in Russian)
or with the sign "[:|||||:]"

And I think that topic starters should use the "forum search" before posting well-known things so solemnly.

_________________
iLavr


07 May 2023 05:11
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
Reply with quote
This one is 1st mention in English :)
And that one was in Russian...

_________________
:dj: https://mastodon.social/@Shaos


07 May 2023 11:37
Profile WWW
Supreme God
User avatar

Joined: 21 Oct 2009 08:08
Posts: 7777
Location: Россия
Reply with quote
Truly, this post was translated from Russian ... :-?

_________________
iLavr


07 May 2023 13:33
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.