Menu

#1 Deep zooming.

open
5
2003-03-18
2003-03-17
No

It would be nice to really "deep zoom" with huge
magnifications, > say, "double" can support. This
requires:

1. Arbitrary precision "integers" (largely done, "integer.h
& cpp"), "reals" (less done, "double.h & cpp"). In the
AML.
2. Detection of excessive zooming in the "Fractal
Generator" - done.
3. Implementation of switching the underlying number
system, or fractal type to the arbitrary-precision type.
This is tricky - do the number s all inherit from a
base "number" and you use polymorphism to change
the base number type within the Fractal Type in the
Fractal Generator, do is each fractal type implemented
with the arbitray-precision arithemtic, thus doubling the
numbers of Fractal Types to implement? How would this
duplication be nicely shown to the user, in a non-
confusing manner? Also should all of the number types
in the AML become templated to allow them to be
implemented with different underlying
int/double/integer/real types? How will this affect the
(broken) templater in VC++v6.0sp5? (The "Thread.hpp"
file already is a source of much grief in this matter.)

Discussion

  • Jason McGuiness

    Jason McGuiness - 2003-03-18
    • assigned_to: nobody --> jmmcg
     
  • Jason McGuiness

    Jason McGuiness - 2003-07-26

    Logged In: YES
    user_id=513437

    Some work done on this!
    Integer type:
    - Extended right-shift and added left-shift operators.
    Real type:
    - Started to implement more of the "real" type. (Actually
    in "real.h" & "real.cpp".)
    - Added simple arithmetic, +, -, /, * & raise to an integer
    power.

    Added these operators to the custom expression generator
    for playing with and testing.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.