mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
Fix documentation in complex number library.
extras/complex_numbers/complex_numbers.complex.m:
Fix incorrect predicate name in documentation of complex_to_polar/3.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
% vim: ft=mercury ts=4 sw=4 et
|
% vim: ft=mercury ts=4 sw=4 et
|
||||||
%---------------------------------------------------------------------------%
|
%---------------------------------------------------------------------------%
|
||||||
% Copyright (C) 1997-1998, 2001, 2005-2006 The University of Melbourne.
|
% Copyright (C) 1997-1998, 2001, 2005-2006 The University of Melbourne.
|
||||||
% Copyright (C) 2015, 2018, 2025 The Mercury team.
|
% Copyright (C) 2015, 2018, 2025-2026 The Mercury team.
|
||||||
% This file is distributed under the terms specified in COPYING.LIB.
|
% This file is distributed under the terms specified in COPYING.LIB.
|
||||||
%---------------------------------------------------------------------------%
|
%---------------------------------------------------------------------------%
|
||||||
%
|
%
|
||||||
@@ -118,7 +118,7 @@
|
|||||||
%
|
%
|
||||||
:- func polar_to_complex(float, float) = complex.
|
:- func polar_to_complex(float, float) = complex.
|
||||||
|
|
||||||
% polar_to_complex(Z, R, Theta).
|
% complex_to_polar(Z, R, Theta).
|
||||||
% Conversion to polar coordinates.
|
% Conversion to polar coordinates.
|
||||||
%
|
%
|
||||||
:- pred complex_to_polar(complex::in, float::out, float::out) is det.
|
:- pred complex_to_polar(complex::in, float::out, float::out) is det.
|
||||||
|
|||||||
Reference in New Issue
Block a user