This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] What to do for complex::pow(0, 0)


Paolo Carlini <pcarlini@suse.de> writes:

| Gabriel Dos Reis wrote:
| 
| >| Indeed. Now, for c99 target we are actually calling __builtin_cpow
| >| (was not the case one week ago due to a trivial oversight) and
| >| consistency with cpow is basically automatic. In case of non-c99
| >| platforms (thus missing, in general, cpow) we open code the
| >| complex::pow code (and return consistently (0, 0) for
| >| zero^zero). Seems a satisfactory solution.
| >
| >I do not understand.  Please could you elaborate?
| >
| What, exactly, you don't understand?!? This is just what we have, I tried
| to summarize the situation to Mark which is not supposed to follow in
| detail our list.

The "return consistently (0, 0) for zero^zero" part.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]