From: Tobias Peters Date: 2003-02-05T07:05:12+09:00 Subject: Re: Native rational and complex number implementations? On Tue, 4 Feb 2003, Gavin Sinclair wrote: > > because it's tedious to write > > Complex(2,3) if what you want is 2+3i > > True, but how many literals do you really define? Numbers tend to be > kept internal to algorithms. Several hundreds to a few thousands, I guess ;-) Ok, that source code was machine generated. It's unit tests that check whether parts of a C++ module wrapped with swig generate the same output for a given test input as older Matlab code. Machine generated, but still ugly to look at when scrolling through the file to add more tests. T