The Ternary Manifesto, The Trillium Architecture.

Balanced Ternary Numeral System - forum was moved from http://ternary.info

Moderator: haqreu

User avatar
askfind
Devil
Posts: 798
Joined: 04 Jan 2016 09:15
Location: Russia, S.- Peterburg

The Ternary Manifesto, The Trillium Architecture.

Post by askfind »

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.
..."
photo_2023-05-05_20-29-12_.jpg
Archive has ternary library libternary.shar
Screenshot from 2023-05-05 18-55-36.png
You do not have the required permissions to view the files attached to this post.
"Ученье свет, а неученье — тьма. Дело мастера боится, и коль крестьянин не умеет сохою владеть — хлеб не родится." (С)
User avatar
Shaos
Admin
Posts: 24011
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Re: The Ternary Manifesto, The Trillium Architecture.

Post by Shaos »

Changed language to English (it's Ternary (ENG)) and also removed private information from screenshot
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
askfind
Devil
Posts: 798
Joined: 04 Jan 2016 09:15
Location: Russia, S.- Peterburg

Re: The Ternary Manifesto, The Trillium Architecture.

Post by askfind »

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: Select all

>$ wget -m http://homepage.cs.uiowa.edu/~dwjones/ternary
# 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: Select all

$ 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: Select all

$ 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: Select all

$ 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: Select all

test27        test927
libter27io.h  libter9io.h   libternary.a  test27io      test9io
libter27io.o  libter9io.o   terconst      test9
"Ученье свет, а неученье — тьма. Дело мастера боится, и коль крестьянин не умеет сохою владеть — хлеб не родится." (С)
User avatar
askfind
Devil
Posts: 798
Joined: 04 Jan 2016 09:15
Location: Russia, S.- Peterburg

Re: The Ternary Manifesto, The Trillium Architecture.

Post by askfind »

The Ternary Manifesto, The Trillium Architecture.

Library libternary.shar

The archive has a ternary ternary library. The link is not downloaded.
"Ученье свет, а неученье — тьма. Дело мастера боится, и коль крестьянин не умеет сохою владеть — хлеб не родится." (С)
User avatar
Lavr
Supreme God
Posts: 16680
Joined: 21 Oct 2009 08:08
Location: Россия

Re: The Ternary Manifesto, The Trillium Architecture.

Post by Lavr »

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:
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
User avatar
Shaos
Admin
Posts: 24011
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Re: The Ternary Manifesto, The Trillium Architecture.

Post by Shaos »

This one is 1st mention in English :)
And that one was in Russian...
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
Lavr
Supreme God
Posts: 16680
Joined: 21 Oct 2009 08:08
Location: Россия

Re: The Ternary Manifesto, The Trillium Architecture.

Post by Lavr »

Truly, this post was translated from Russian ... :-?
iLavr