Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #123317

Re: complex storage... ;^)

From "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups comp.lang.c++
Subject Re: complex storage... ;^)
Date 2026-01-20 14:40 -0800
Organization A noiseless patient Spider
Message-ID <10kp094$1kib0$1@dont-email.me> (permalink)
References (1 earlier) <10k82ek$3vail$1@raubtier-asyl.eternal-september.org> <10k8r25$7fig$1@dont-email.me> <10k9jma$ek4s$1@raubtier-asyl.eternal-september.org> <10kcc8q$1aofq$1@dont-email.me> <10kcsh7$1eq3f$1@dont-email.me>

Show all headers | View raw


On 1/16/2026 12:23 AM, David Brown wrote:
> On 16/01/2026 04:45, Chris M. Thomasson wrote:
>> On 1/14/2026 6:33 PM, Bonita Montero wrote:
> 
>>>
>>> ct_xxx is counter-intuitive.
>>>
>>
>> I agree.
> 
> I disagree.
> 
> The ct_ prefix is not intuitive, based on the code (clearly it comes 
> from your name).  But it is not /counter-intuitive/, which would mean it 
> goes directly against intuition.
> 
> "cs_int" could be called intuitive for a prefix used in code for 
> "complex storage".
> 
> "complex_int" would be counter-intuitive, because it would look like a 
> type for Gaussian integers rather than a local name for an integer type.
> 
> "ct_int" is neither intuitive nor counter-intuitive.  It's just not 
> particularly great, and looks like C-style code rather than C++ code 
> with namespaces, using directives, and templates rather than typedefs 
> like this.  But it's perfectly good for trying things out while 
> developing - you can always polish it later if it is to be a general 
> library for wider use.
> 
> 

Thanks David. Agreed. I do need to port it to a complex number real, 
imag parts being arbitrary precision.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

complex storage... ;^) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-01-11 14:03 -0800
  Re: complex storage... ;^) Bonita Montero <Bonita.Montero@gmail.com> - 2026-01-14 13:33 +0100
    Re: complex storage... ;^) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-01-14 11:33 -0800
      Re: complex storage... ;^) Bonita Montero <Bonita.Montero@gmail.com> - 2026-01-15 03:33 +0100
        Re: complex storage... ;^) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-01-15 19:45 -0800
          Re: complex storage... ;^) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-01-15 19:46 -0800
            Re: complex storage... ;^) Bonita Montero <Bonita.Montero@gmail.com> - 2026-01-16 05:42 +0100
              Re: complex storage... ;^) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-01-27 14:21 -0800
          Re: complex storage... ;^) David Brown <david.brown@hesbynett.no> - 2026-01-16 09:23 +0100
            Re: complex storage... ;^) Bonita Montero <Bonita.Montero@gmail.com> - 2026-01-16 14:48 +0100
            Re: complex storage... ;^) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-01-20 14:40 -0800

csiph-web