Message179646
> But I'm unsure is this is expected behavior or luck, and on some
> platform this code will not work due to different complex numbers
> internal representation.
What platform? Isn't the complex number representation standard? E.g., C99 6.2.5p13 says: "Each complex type has the same representation and alignment requirements as an array type containing exactly two elements of the corresponding real type; the first element is equal to the real part, and the second element to the imaginary part, of the complex number." |
|
Date |
User |
Action |
Args |
2013-01-11 08:24:56 | mark.dickinson | set | recipients:
+ mark.dickinson, amaury.forgeotdarc, rutsky |
2013-01-11 08:24:56 | mark.dickinson | set | messageid: <1357892696.32.0.314042232745.issue16899@psf.upfronthosting.co.za> |
2013-01-11 08:24:56 | mark.dickinson | link | issue16899 messages |
2013-01-11 08:24:55 | mark.dickinson | create | |
|