Upgrade to .NET Framework 4.0.

master
Robert Baron 2017-12-14 20:18:55 -05:00
parent 5a4b46838e
commit 96b924f152
595 changed files with 5200 additions and 6856 deletions

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@
<RootNamespace>Documentation</RootNamespace>
<Name>Documentation</Name>
<!-- SHFB properties -->
<FrameworkVersion>.NET Framework 2.0</FrameworkVersion>
<FrameworkVersion>.NET Framework 4.0</FrameworkVersion>
<OutputPath>..\docs\</OutputPath>
<HtmlHelpName>Gmp.Native</HtmlHelpName>
<Language>en-US</Language>
@ -43,7 +43,8 @@
<CleanIntermediates>True</CleanIntermediates>
<NamespaceSummaries>
<NamespaceSummaryItem name="(global)" isDocumented="False" />
<NamespaceSummaryItem name="Math.Gmp.Native" isDocumented="True">The Math.Gmp.Native namespace contains types defined to expose all of the GNU GMP functionality to .NET.</NamespaceSummaryItem></NamespaceSummaries>
<NamespaceSummaryItem name="Math.Gmp.Native" isDocumented="True">The Math.Gmp.Native namespace contains types defined to expose all of the GNU GMP functionality to .NET.</NamespaceSummaryItem>
</NamespaceSummaries>
<WarnOnMissingSourceContext>False</WarnOnMissingSourceContext>
<HelpFileVersion>1.0.0.0</HelpFileVersion>
<MaximumGroupParts>2</MaximumGroupParts>

View File

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2008
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{68DC166D-565A-4F3D-B777-B8E384F26864}"
ProjectSection(SolutionItems) = preProject
@ -105,4 +105,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6662125F-58CB-4865-A9D5-84C5BA376102}
EndGlobalSection
EndGlobal

View File

@ -23,7 +23,7 @@ namespace Math.Gmp.Native
/// Returns a value indicating whether this instance is equal to a specified object.
/// </summary>
/// <param name="obj">An object to compare with this instance.</param>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="FILE"/> and equals the value of this instance; otherwise, <c>False</c>.</returns>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="FILE">FILE</see> and equals the value of this instance; otherwise, <c>False</c>.</returns>
public override bool Equals(object obj)
{
if (!(obj is FILE))
@ -33,9 +33,9 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Returns a value indicating whether this instance is equal to a specified <see cref="FILE"/> value.
/// Returns a value indicating whether this instance is equal to a specified <see cref="FILE">FILE</see> value.
/// </summary>
/// <param name="other">A <see cref="FILE"/> value to compare to this instance.</param>
/// <param name="other">A <see cref="FILE">FILE</see> value to compare to this instance.</param>
/// <returns><c>True</c> if <paramref name="other"/> has the same value as this instance; otherwise, <c>False</c>.</returns>
public bool Equals(FILE other)
{
@ -54,8 +54,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are equal.
/// </summary>
/// <param name="value1">A <see cref="FILE"/> value.</param>
/// <param name="value2">A <see cref="FILE"/> value.</param>
/// <param name="value1">A <see cref="FILE">FILE</see> value.</param>
/// <param name="value2">A <see cref="FILE">FILE</see> value.</param>
/// <returns><c>True</c> if the two values are equal, and <c>False</c> otherwise.</returns>
public static bool operator ==(FILE value1, FILE value2)
{
@ -65,8 +65,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are different.
/// </summary>
/// <param name="value1">A <see cref="FILE"/> value.</param>
/// <param name="value2">A <see cref="FILE"/> value.</param>
/// <param name="value1">A <see cref="FILE">FILE</see> value.</param>
/// <param name="value2">A <see cref="FILE">FILE</see> value.</param>
/// <returns><c>True</c> if the two FILE are different, and <c>False</c> otherwise.</returns>
public static bool operator !=(FILE value1, FILE value2)
{

View File

@ -1,674 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@ -1,111 +0,0 @@
Copyright 1991, 1996, 1999, 2000, 2007 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of either:
* the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your
option) any later version.
or
* the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any
later version.
or both in parallel, as here.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received copies of the GNU General Public License and the
GNU Lesser General Public License along with the GNU MP Library. If not,
see https://www.gnu.org/licenses/.
THE GNU MP LIBRARY
GNU MP is a library for arbitrary precision arithmetic, operating on signed
integers, rational numbers, and floating point numbers. It has a rich set of
functions, and the functions have a regular interface.
GNU MP is designed to be as fast as possible, both for small operands and huge
operands. The speed is achieved by using fullwords as the basic arithmetic
type, by using fast algorithms, with carefully optimized assembly code for the
most common inner loops for lots of CPUs, and by a general emphasis on speed
(instead of simplicity or elegance).
GNU MP is believed to be faster than any other similar library. Its advantage
increases with operand sizes for certain operations, since GNU MP in many
cases has asymptotically faster algorithms.
GNU MP is free software and may be freely copied on the terms contained in the
files COPYING* (see the manual for information on which license(s) applies to
which components of GNU MP).
OVERVIEW OF GNU MP
There are four classes of functions in GNU MP.
1. Signed integer arithmetic functions (mpz). These functions are intended
to be easy to use, with their regular interface. The associated type is
`mpz_t'.
2. Rational arithmetic functions (mpq). For now, just a small set of
functions necessary for basic rational arithmetics. The associated type
is `mpq_t'.
3. Floating-point arithmetic functions (mpf). If the C type `double'
doesn't give enough precision for your application, declare your
variables as `mpf_t' instead, set the precision to any number desired,
and call the functions in the mpf class for the arithmetic operations.
4. Positive-integer, hard-to-use, very low overhead functions are in the
mpn class. No memory management is performed. The caller must ensure
enough space is available for the results. The set of functions is not
regular, nor is the calling interface. These functions accept input
arguments in the form of pairs consisting of a pointer to the least
significant word, and an integral size telling how many limbs (= words)
the pointer points to.
Almost all calculations, in the entire package, are made by calling these
low-level functions.
For more information on how to use GNU MP, please refer to the documentation.
It is composed from the file doc/gmp.texi, and can be displayed on the screen
or printed. How to do that, as well how to build the library, is described in
the INSTALL file in this directory.
REPORTING BUGS
If you find a bug in the library, please make sure to tell us about it!
You should first check the GNU MP web pages at https://gmplib.org/, under
"Status of the current release". There will be patches for all known serious
bugs there.
Report bugs to gmp-bugs@gmplib.org. What information is needed in a useful bug
report is described in the manual. The same address can be used for suggesting
modifications and enhancements.
----------------
Local variables:
mode: text
fill-column: 78
End:

View File

@ -9,9 +9,11 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Math.Gmp.Native</RootNamespace>
<AssemblyName>Math.Gmp.Native</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -89,12 +91,6 @@
<ItemGroup>
<None Include="Dependencies\ConsoleApplication12.zip" />
<None Include="Dependencies\gmp-6.1.2.tar.bz2" />
<None Include="GMP_COPYING">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="GMP_README">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ReadMe.txt" />
<None Include="Dependencies\msys2-i686-20161025.exe" />
<None Include="Dependencies\msys2-x86_64-20161025.exe" />
@ -106,6 +102,18 @@
<Content Include="x86\libgmp-10.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="x64\GMP_COPYING">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="x64\GMP_README">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="x86\GMP_COPYING">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="x86\GMP_README">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<None Include="Math.Gmp.Native.ruleset" />

View File

@ -27,7 +27,7 @@ namespace Math.Gmp.Native
/// <param name="str">The value of the new string.</param>
/// <remarks>
/// <para>
/// When done with the string, unmanaged memory must be released with <see cref="gmp_lib.free(char_ptr)"/> .
/// When done with the string, unmanaged memory must be released with <see cref="gmp_lib.free(char_ptr)">free</see>.
/// </para>
/// </remarks>
public char_ptr(string str)
@ -57,14 +57,14 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Gets a null <see cref="char_ptr"/>.
/// Gets a null <see cref="char_ptr">char_ptr</see>.
/// </summary>
public static readonly char_ptr Zero = new char_ptr(IntPtr.Zero);
/// <summary>
/// Gets the .NET <see cref="string"/> equivalent of the unmanaged string.
/// Gets the .NET <see cref="string">string</see> equivalent of the unmanaged string.
/// </summary>
/// <returns>The .NET <see cref="string"/> equivalent of the unmanaged string.</returns>
/// <returns>The .NET <see cref="string">string</see> equivalent of the unmanaged string.</returns>
public override string ToString()
{
return Marshal.PtrToStringAnsi(Pointer);
@ -74,7 +74,7 @@ namespace Math.Gmp.Native
/// Returns a value indicating whether this instance is equal to a specified object.
/// </summary>
/// <param name="obj">An object to compare with this instance.</param>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="char_ptr"/> and equals the value of this instance; otherwise, <c>False</c>.</returns>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="char_ptr">char_ptr</see> and equals the value of this instance; otherwise, <c>False</c>.</returns>
public override bool Equals(object obj)
{
if (!(obj is char_ptr))
@ -84,9 +84,9 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Returns a value indicating whether this instance is equal to a specified <see cref="char_ptr"/> value.
/// Returns a value indicating whether this instance is equal to a specified <see cref="char_ptr">char_ptr</see> value.
/// </summary>
/// <param name="other">A <see cref="char_ptr"/> value to compare to this instance.</param>
/// <param name="other">A <see cref="char_ptr">char_ptr</see> value to compare to this instance.</param>
/// <returns><c>True</c> if <paramref name="other"/> has the same value as this instance; otherwise, <c>False</c>.</returns>
public bool Equals(char_ptr other)
{
@ -105,8 +105,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are equal.
/// </summary>
/// <param name="value1">A <see cref="char_ptr"/> value.</param>
/// <param name="value2">A <see cref="char_ptr"/> value.</param>
/// <param name="value1">A <see cref="char_ptr">char_ptr</see> value.</param>
/// <param name="value2">A <see cref="char_ptr">char_ptr</see> value.</param>
/// <returns><c>True</c> if the two values are equal, and <c>False</c> otherwise.</returns>
public static bool operator ==(char_ptr value1, char_ptr value2)
{
@ -116,8 +116,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are different.
/// </summary>
/// <param name="value1">A <see cref="char_ptr"/> value.</param>
/// <param name="value2">A <see cref="char_ptr"/> value.</param>
/// <param name="value1">A <see cref="char_ptr">char_ptr</see> value.</param>
/// <param name="value2">A <see cref="char_ptr">char_ptr</see> value.</param>
/// <returns><c>True</c> if the two values are different, and <c>False</c> otherwise.</returns>
public static bool operator !=(char_ptr value1, char_ptr value2)
{

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,7 @@ namespace Math.Gmp.Native
/// </summary>
/// <remarks>
/// <para>
/// When done with the random number generator state, unmanaged memory must be released with <see cref="gmp_lib.free(gmp_randstate_t)"/> .
/// When done with the random number generator state, unmanaged memory must be released with <see cref="gmp_lib.free(gmp_randstate_t)">free</see>.
/// </para>
/// </remarks>
public gmp_randstate_t()

View File

@ -6,7 +6,7 @@ namespace Math.Gmp.Native
{
/// <summary>
/// Provides common functionality to <see cref="mpz_t"/>, <see cref="mpf_t"/>, and <see cref="gmp_randstate_t"/>.
/// Provides common functionality to <see cref="mpz_t">mpz_t</see>, <see cref="mpf_t">mpf_t</see>, and <see cref="gmp_randstate_t">gmp_randstate_t</see>.
/// </summary>
public class mp_base
{
@ -58,22 +58,22 @@ namespace Math.Gmp.Native
/// </summary>
/// <remarks>
/// <para>
/// In <see cref="mpz_t"/>:
/// In <see cref="mpz_t">mpz_t</see>:
/// </para>
/// <para>
/// A pointer to an array of limbs which is the magnitude.
/// These are stored “little endian” as per the mpn functions, so <c><see cref="_mp_d"/>[0]</c>
/// is the least significant limb and <c><see cref="_mp_d"/>[ABS(<see cref="_mp_size"/>) - 1]</c>
/// These are stored “little endian” as per the mpn functions, so <c><see cref="_mp_d">_mp_d</see>[0]</c>
/// is the least significant limb and <c><see cref="_mp_d">_mp_d</see>[ABS(<see cref="_mp_size">_mp_size</see>) - 1]</c>
/// is the most significant.
/// Whenever <see cref="_mp_size"/> is non-zero, the most significant limb is non-zero.
/// Whenever <see cref="_mp_size">_mp_size</see> is non-zero, the most significant limb is non-zero.
/// </para>
/// <para>
/// Currently theres always at least one limb allocated, so for instance <see cref="gmp_lib.mpz_set_ui"/>
/// never needs to reallocate, and <see cref="gmp_lib.mpz_get_ui"/> can fetch <c><see cref="_mp_d"/>[0]</c>
/// unconditionally (though its value is then only wanted if <see cref="_mp_size"/> is non-zero).
/// Currently theres always at least one limb allocated, so for instance <see cref="gmp_lib.mpz_set_ui">gmp_lib.mpz_set_ui</see>
/// never needs to reallocate, and <see cref="gmp_lib.mpz_get_ui">gmp_lib.mpz_get_ui</see> can fetch <c><see cref="_mp_d">_mp_d</see>[0]</c>
/// unconditionally (though its value is then only wanted if <see cref="_mp_size">_mp_size</see> is non-zero).
/// </para>
/// <para>
/// In <see cref="mpz_t"/>:
/// In <see cref="mpz_t">mpz_t</see>:
/// </para>
/// <para>
/// A pointer to the array of limbs which is the absolute value of the mantissa.
@ -85,9 +85,9 @@ namespace Math.Gmp.Native
/// in particular the highest <c>1</c> bit can be anywhere within the limb.
/// </para>
/// <para>
/// <c>_mp_prec + 1</c> limbs are allocated to <see cref="mp_base._mp_d"/>, the extra limb being for
/// <c>_mp_prec + 1</c> limbs are allocated to <see cref="mp_base._mp_d">mp_base._mp_d</see>, the extra limb being for
/// convenience (see below).
/// There are no reallocations during a calculation, only in a change of precision with <see cref="gmp_lib.mpf_set_prec"/>.
/// There are no reallocations during a calculation, only in a change of precision with <see cref="gmp_lib.mpf_set_prec">gmp_lib.mpf_set_prec</see>.
/// </para>
/// </remarks>
public virtual mp_ptr _mp_d

View File

@ -10,49 +10,49 @@ namespace Math.Gmp.Native
/// </summary>
/// <remarks>
/// <para>
/// Counts of bits of a multi-precision number are represented in the C type <see cref="mp_bitcnt_t"/>.
/// Counts of bits of a multi-precision number are represented in the C type <see cref="mp_bitcnt_t">mp_bitcnt_t</see>.
/// Currently this is always an unsigned long, but on some systems it will be an unsigned long long in the future.
/// </para>
/// <para>
/// In .NET, this is an unsigned 32-bit integer.
/// </para>
/// </remarks>
/// <seealso cref="mpf_t"/>
/// <seealso cref="mpq_t"/>
/// <seealso cref="mpz_t"/>
/// <seealso cref="mpf_t">mpf_t</seealso>
/// <seealso cref="mpq_t">mpq_t</seealso>
/// <seealso cref="mpz_t">mpz_t</seealso>
public struct mp_bitcnt_t
{
/// <summary>
/// The <see cref="mp_bitcnt_t"/> value.
/// The <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public uint Value;
/// <summary>
/// Creates a new <see cref="mp_bitcnt_t"/>, and sets its <paramref name="value"/>.
/// Creates a new <see cref="mp_bitcnt_t">mp_bitcnt_t</see>, and sets its <paramref name="value"/>.
/// </summary>
/// <param name="value">The value of the new <see cref="mp_bitcnt_t"/>.</param>
/// <param name="value">The value of the new <see cref="mp_bitcnt_t">mp_bitcnt_t</see>.</param>
public mp_bitcnt_t(uint value)
{
this.Value = value;
}
/// <summary>
/// Converts a <see cref="Byte"/> value to an <see cref="mp_bitcnt_t"/> value.
/// Converts a <see cref="Byte">Byte</see> value to an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.
/// </summary>
/// <param name="value">A <see cref="Byte"/> value.</param>
/// <returns>An <see cref="mp_bitcnt_t"/> value.</returns>
/// <param name="value">A <see cref="Byte">Byte</see> value.</param>
/// <returns>An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</returns>
public static implicit operator mp_bitcnt_t(byte value)
{
return new mp_bitcnt_t(value);
}
/// <summary>
/// Converts a <see cref="Byte"/> value to an <see cref="mp_bitcnt_t"/> value.
/// Converts a <see cref="Byte">Byte</see> value to an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.
/// </summary>
/// <param name="value">A <see cref="Byte"/> value.</param>
/// <returns>An <see cref="mp_bitcnt_t"/> value.</returns>
/// <param name="value">A <see cref="Byte">Byte</see> value.</param>
/// <returns>An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</returns>
public static explicit operator mp_bitcnt_t(sbyte value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_bitcnt_t data type.", value));
@ -60,20 +60,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="UInt16"/> value to an <see cref="mp_bitcnt_t"/> value.
/// Converts a <see cref="UInt16">UInt16</see> value to an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt16"/> value.</param>
/// <returns>An <see cref="mp_bitcnt_t"/> value.</returns>
/// <param name="value">A <see cref="UInt16">UInt16</see> value.</param>
/// <returns>An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</returns>
public static implicit operator mp_bitcnt_t(ushort value)
{
return new mp_bitcnt_t(value);
}
/// <summary>
/// Converts an <see cref="Int16"/> value to an <see cref="mp_bitcnt_t"/> value.
/// Converts an <see cref="Int16">Int16</see> value to an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int16"/> value.</param>
/// <returns>An <see cref="mp_bitcnt_t"/> value.</returns>
/// <param name="value">An <see cref="Int16">Int16</see> value.</param>
/// <returns>An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</returns>
public static explicit operator mp_bitcnt_t(short value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_bitcnt_t data type.", value));
@ -81,20 +81,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="UInt32"/> value to an <see cref="mp_bitcnt_t"/> value.
/// Converts a <see cref="UInt32">UInt32</see> value to an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt32"/> value.</param>
/// <returns>An <see cref="mp_bitcnt_t"/> value.</returns>
/// <param name="value">A <see cref="UInt32">UInt32</see> value.</param>
/// <returns>An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</returns>
public static implicit operator mp_bitcnt_t(uint value)
{
return new mp_bitcnt_t(value);
}
/// <summary>
/// Converts an <see cref="Int32"/> value to an <see cref="mp_bitcnt_t"/> value.
/// Converts an <see cref="Int32">Int32</see> value to an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int32"/> value.</param>
/// <returns>An <see cref="mp_bitcnt_t"/> value.</returns>
/// <param name="value">An <see cref="Int32">Int32</see> value.</param>
/// <returns>An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</returns>
public static explicit operator mp_bitcnt_t(int value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_bitcnt_t data type.", value));
@ -102,10 +102,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="UInt64"/> value to an <see cref="mp_bitcnt_t"/> value.
/// Converts a <see cref="UInt64">UInt64</see> value to an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt64"/> value.</param>
/// <returns>An <see cref="mp_bitcnt_t"/> value.</returns>
/// <param name="value">A <see cref="UInt64">UInt64</see> value.</param>
/// <returns>An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</returns>
public static explicit operator mp_bitcnt_t(ulong value)
{
if (value > uint.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_bitcnt_t data type.", value));
@ -113,10 +113,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="Int64"/> value to a <see cref="mp_bitcnt_t"/> value.
/// Converts an <see cref="Int64">Int64</see> value to a <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int64"/> value.</param>
/// <returns>An <see cref="mp_bitcnt_t"/> value.</returns>
/// <param name="value">An <see cref="Int64">Int64</see> value.</param>
/// <returns>An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</returns>
public static explicit operator mp_bitcnt_t(long value)
{
if (value < 0 || value > uint.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_bitcnt_t data type.", value));
@ -124,10 +124,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_bitcnt_t"/> value to a <see cref="Byte"/> value.
/// Converts an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value to a <see cref="Byte">Byte</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_bitcnt_t"/> value.</param>
/// <returns>A <see cref="Byte"/> value.</returns>
/// <param name="value">An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <returns>A <see cref="Byte">Byte</see> value.</returns>
public static explicit operator byte(mp_bitcnt_t value)
{
if (value.Value > byte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Byte data type.", value));
@ -135,10 +135,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_bitcnt_t"/> value to an <see cref="SByte"/> value.
/// Converts an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value to an <see cref="SByte">SByte</see> value.
/// </summary>
/// <param name="value">An <see cref="SByte"/> value.</param>
/// <returns>An <see cref="Byte"/> value.</returns>
/// <param name="value">An <see cref="SByte">SByte</see> value.</param>
/// <returns>An <see cref="Byte">Byte</see> value.</returns>
public static explicit operator sbyte(mp_bitcnt_t value)
{
if (value.Value > sbyte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the SByte data type.", value));
@ -146,10 +146,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_bitcnt_t"/> value to a <see cref="UInt16"/> value.
/// Converts an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value to a <see cref="UInt16">UInt16</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_bitcnt_t"/> value.</param>
/// <returns>A <see cref="UInt16"/> value.</returns>
/// <param name="value">An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <returns>A <see cref="UInt16">UInt16</see> value.</returns>
public static explicit operator ushort(mp_bitcnt_t value)
{
if (value.Value > ushort.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt16 data type.", value));
@ -157,10 +157,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_bitcnt_t"/> value to an <see cref="Int16"/> value.
/// Converts an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value to an <see cref="Int16">Int16</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_bitcnt_t"/> value.</param>
/// <returns>An <see cref="Int16"/> value.</returns>
/// <param name="value">An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <returns>An <see cref="Int16">Int16</see> value.</returns>
public static explicit operator short(mp_bitcnt_t value)
{
if (value.Value > short.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int16 data type.", value));
@ -168,20 +168,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_bitcnt_t"/> value to a <see cref="UInt32"/> value.
/// Converts an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value to a <see cref="UInt32">UInt32</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_bitcnt_t"/> value.</param>
/// <returns>A <see cref="UInt32"/> value.</returns>
/// <param name="value">An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <returns>A <see cref="UInt32">UInt32</see> value.</returns>
public static implicit operator uint(mp_bitcnt_t value)
{
return value.Value;
}
/// <summary>
/// Converts an <see cref="mp_bitcnt_t"/> value to an <see cref="Int32"/> value.
/// Converts an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value to an <see cref="Int32">Int32</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_bitcnt_t"/> value.</param>
/// <returns>An <see cref="Int32"/> value.</returns>
/// <param name="value">An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <returns>An <see cref="Int32">Int32</see> value.</returns>
public static explicit operator int(mp_bitcnt_t value)
{
if (value.Value > int.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int32 data type.", value));
@ -189,29 +189,29 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_bitcnt_t"/> value to a <see cref="UInt64"/> value.
/// Converts an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value to a <see cref="UInt64">UInt64</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_bitcnt_t"/> value.</param>
/// <returns>A <see cref="UInt64"/> value.</returns>
/// <param name="value">An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <returns>A <see cref="UInt64">UInt64</see> value.</returns>
public static implicit operator ulong(mp_bitcnt_t value)
{
return value.Value;
}
/// <summary>
/// Converts an <see cref="mp_bitcnt_t"/> value to an <see cref="Int64"/> value.
/// Converts an <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value to an <see cref="Int64">Int64</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_bitcnt_t"/> value.</param>
/// <returns>An <see cref="Int64"/> value.</returns>
/// <param name="value">An <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <returns>An <see cref="Int64">Int64</see> value.</returns>
public static implicit operator long(mp_bitcnt_t value)
{
return value.Value;
}
/// <summary>
/// Gets the string representation of the <see cref="mp_bitcnt_t"/>.
/// Gets the string representation of the <see cref="mp_bitcnt_t">mp_bitcnt_t</see>.
/// </summary>
/// <returns>The string representation of the <see cref="mp_bitcnt_t"/>.</returns>
/// <returns>The string representation of the <see cref="mp_bitcnt_t">mp_bitcnt_t</see>.</returns>
public override string ToString()
{
return Value.ToString(System.Globalization.CultureInfo.InvariantCulture);
@ -221,7 +221,7 @@ namespace Math.Gmp.Native
/// Returns a value indicating whether this instance is equal to a specified object.
/// </summary>
/// <param name="obj">An object to compare with this instance.</param>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="mp_bitcnt_t"/> and equals the value of this instance; otherwise, <c>False</c>.</returns>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="mp_bitcnt_t">mp_bitcnt_t</see> and equals the value of this instance; otherwise, <c>False</c>.</returns>
public override bool Equals(object obj)
{
if (!(obj is mp_bitcnt_t))
@ -231,9 +231,9 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Returns a value indicating whether this instance is equal to a specified <see cref="mp_bitcnt_t"/> value.
/// Returns a value indicating whether this instance is equal to a specified <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.
/// </summary>
/// <param name="other">A <see cref="mp_bitcnt_t"/> value to compare to this instance.</param>
/// <param name="other">A <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value to compare to this instance.</param>
/// <returns><c>True</c> if <paramref name="other"/> has the same value as this instance; otherwise, <c>False</c>.</returns>
public bool Equals(mp_bitcnt_t other)
{
@ -252,8 +252,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are equal.
/// </summary>
/// <param name="value1">A <see cref="mp_bitcnt_t"/> value.</param>
/// <param name="value2">A <see cref="mp_bitcnt_t"/> value.</param>
/// <param name="value1">A <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <param name="value2">A <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <returns><c>True</c> if the two values are equal, and <c>False</c> otherwise.</returns>
public static bool operator ==(mp_bitcnt_t value1, mp_bitcnt_t value2)
{
@ -263,8 +263,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are different.
/// </summary>
/// <param name="value1">A <see cref="mp_bitcnt_t"/> value.</param>
/// <param name="value2">A <see cref="mp_bitcnt_t"/> value.</param>
/// <param name="value1">A <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <param name="value2">A <see cref="mp_bitcnt_t">mp_bitcnt_t</see> value.</param>
/// <returns><c>True</c> if the two values are different, and <c>False</c> otherwise.</returns>
public static bool operator !=(mp_bitcnt_t value1, mp_bitcnt_t value2)
{

View File

@ -1,268 +0,0 @@

using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
{
/// <summary>
/// Represents the exponent of a floating-point number.
/// </summary>
/// <remarks>
/// <para>
/// The floating point functions accept and return exponents in the C type <see cref="mp_exp_t"/>.
/// Currently this is usually a long, but on some systems its an int for efficiency.
/// </para>
/// <para>
/// In .Net, this is a 32-bit integer.
/// </para>
/// </remarks>
public struct mp_exp_t
{
internal int _value;
/// <summary>
/// Creates a new <see cref="mp_exp_t"/>, and sets its <paramref name="value"/>.
/// </summary>
/// <param name="value">The value of the new <see cref="mp_exp_t"/>.</param>
public mp_exp_t(int value)
{
_value = value;
}
/// <summary>
/// Converts a <see cref="Byte"/> value to an <see cref="mp_exp_t"/> value.
/// </summary>
/// <param name="value">A <see cref="Byte"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
public static implicit operator mp_exp_t(byte value)
{
return new mp_exp_t(value);
}
/// <summary>
/// Converts a <see cref="Byte"/> value to an <see cref="mp_exp_t"/> value.
/// </summary>
/// <param name="value">A <see cref="Byte"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
public static implicit operator mp_exp_t(sbyte value)
{
return new mp_exp_t(value);
}
/// <summary>
/// Converts a <see cref="UInt16"/> value to an <see cref="mp_exp_t"/> value.
/// </summary>
/// <param name="value">A <see cref="UInt16"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
public static implicit operator mp_exp_t(ushort value)
{
return new mp_exp_t(value);
}
/// <summary>
/// Converts an <see cref="Int16"/> value to an <see cref="mp_exp_t"/> value.
/// </summary>
/// <param name="value">An <see cref="Int16"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
public static implicit operator mp_exp_t(short value)
{
return new mp_exp_t(value);
}
/// <summary>
/// Converts a <see cref="UInt32"/> value to an <see cref="mp_exp_t"/> value.
/// </summary>
/// <param name="value">A <see cref="UInt32"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
public static explicit operator mp_exp_t(uint value)
{
if (value > int.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_exp_t data type.", value));
return new mp_exp_t((int)value);
}
/// <summary>
/// Converts an <see cref="Int32"/> value to an <see cref="mp_exp_t"/> value.
/// </summary>
/// <param name="value">An <see cref="Int32"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
public static implicit operator mp_exp_t(int value)
{
return new mp_exp_t(value);
}
/// <summary>
/// Converts a <see cref="UInt64"/> value to an <see cref="mp_exp_t"/> value.
/// </summary>
/// <param name="value">A <see cref="UInt64"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
public static explicit operator mp_exp_t(ulong value)
{
if (value > int.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_exp_t data type.", value));
return new mp_exp_t((int)value);
}
/// <summary>
/// Converts an <see cref="Int64"/> value to a <see cref="mp_exp_t"/> value.
/// </summary>
/// <param name="value">An <see cref="Int64"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
public static explicit operator mp_exp_t(long value)
{
if (value < uint.MinValue || value > uint.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_exp_t data type.", value));
return new mp_exp_t((int)value);
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to a <see cref="Byte"/> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>A <see cref="Byte"/> value.</returns>
public static explicit operator byte(mp_exp_t value)
{
if (value._value > byte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Byte data type.", value));
return (byte)value._value;
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to an <see cref="SByte"/> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>An <see cref="SByte"/> value.</returns>
public static explicit operator sbyte(mp_exp_t value)
{
if (value._value < sbyte.MinValue || value._value > sbyte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the SByte data type.", value));
return (sbyte)value._value;
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to a <see cref="UInt16"/> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>A <see cref="UInt16"/> value.</returns>
public static explicit operator ushort(mp_exp_t value)
{
if (value._value > ushort.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt16 data type.", value));
return (ushort)value._value;
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to an <see cref="Int16"/> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>An <see cref="Int16"/> value.</returns>
public static explicit operator short(mp_exp_t value)
{
if (value._value < short.MinValue || value._value > short.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int16 data type.", value));
return (short)value._value;
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to a <see cref="UInt32"/> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>A <see cref="UInt32"/> value.</returns>
public static explicit operator uint(mp_exp_t value)
{
if (value._value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt32 data type.", value));
return (uint)value._value;
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to an <see cref="Int32"/> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>An <see cref="Int32"/> value.</returns>
public static implicit operator int(mp_exp_t value)
{
return value._value;
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to a <see cref="UInt64"/> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>A <see cref="UInt64"/> value.</returns>
public static explicit operator ulong(mp_exp_t value)
{
if (value._value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt64 data type.", value));
return (ulong)value._value;
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to an <see cref="Int64"/> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>An <see cref="Int64"/> value.</returns>
public static implicit operator long(mp_exp_t value)
{
return value._value;
}
/// <summary>
/// Gets the string representation of the <see cref="mp_exp_t"/>.
/// </summary>
/// <returns>The string representation of the <see cref="mp_exp_t"/>.</returns>
public override string ToString()
{
return _value.ToString(System.Globalization.CultureInfo.InvariantCulture);
}
/// <summary>
/// Returns a value indicating whether this instance is equal to a specified object.
/// </summary>
/// <param name="obj">An object to compare with this instance.</param>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="mp_exp_t"/> and equals the value of this instance; otherwise, <c>False</c>.</returns>
public override bool Equals(object obj)
{
if (!(obj is mp_exp_t))
return false;
return Equals((mp_exp_t)obj);
}
/// <summary>
/// Returns a value indicating whether this instance is equal to a specified <see cref="mp_exp_t"/> value.
/// </summary>
/// <param name="other">A <see cref="mp_exp_t"/> value to compare to this instance.</param>
/// <returns><c>True</c> if <paramref name="other"/> has the same value as this instance; otherwise, <c>False</c>.</returns>
public bool Equals(mp_exp_t other)
{
return _value == other._value;
}
/// <summary>
/// Returns the hash code for this instance.
/// </summary>
/// <returns>A 32-bit signed integer hash code.</returns>
public override int GetHashCode()
{
return _value.GetHashCode();
}
/// <summary>
/// Gets a value that indicates whether the two argument values are equal.
/// </summary>
/// <param name="value1">A <see cref="mp_exp_t"/> value.</param>
/// <param name="value2">A <see cref="mp_exp_t"/> value.</param>
/// <returns><c>True</c> if the two values are equal, and <c>False</c> otherwise.</returns>
public static bool operator ==(mp_exp_t value1, mp_exp_t value2)
{
return value1.Equals(value2);
}
/// <summary>
/// Gets a value that indicates whether the two argument values are different.
/// </summary>
/// <param name="value1">A <see cref="mp_exp_t"/> value.</param>
/// <param name="value2">A <see cref="mp_exp_t"/> value.</param>
/// <returns><c>True</c> if the two values are different, and <c>False</c> otherwise.</returns>
public static bool operator !=(mp_exp_t value1, mp_exp_t value2)
{
return !value1.Equals(value2);
}
}
}

View File

@ -10,7 +10,7 @@ namespace Math.Gmp.Native
/// </summary>
/// <remarks>
/// <para>
/// The floating point functions accept and return exponents in the C type <see cref="mp_exp_t"/>.
/// The floating point functions accept and return exponents in the C type <see cref="mp_exp_t">mp_exp_t</see>.
/// Currently this is usually a long, but on some systems its an int for efficiency.
/// </para>
/// <para>
@ -21,65 +21,65 @@ namespace Math.Gmp.Native
{
/// <summary>
/// The <see cref="mp_exp_t"/> value.
/// The <see cref="mp_exp_t">mp_exp_t</see> value.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public int Value;
/// <summary>
/// Creates a new <see cref="mp_exp_t"/>, and sets its <paramref name="value"/>.
/// Creates a new <see cref="mp_exp_t">mp_exp_t</see>, and sets its <paramref name="value"/>.
/// </summary>
/// <param name="value">The value of the new <see cref="mp_exp_t"/>.</param>
/// <param name="value">The value of the new <see cref="mp_exp_t">mp_exp_t</see>.</param>
public mp_exp_t(int value)
{
this.Value = value;
}
/// <summary>
/// Converts a <see cref="Byte"/> value to an <see cref="mp_exp_t"/> value.
/// Converts a <see cref="Byte">Byte</see> value to an <see cref="mp_exp_t">mp_exp_t</see> value.
/// </summary>
/// <param name="value">A <see cref="Byte"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
/// <param name="value">A <see cref="Byte">Byte</see> value.</param>
/// <returns>An <see cref="mp_exp_t">mp_exp_t</see> value.</returns>
public static implicit operator mp_exp_t(byte value)
{
return new mp_exp_t(value);
}
/// <summary>
/// Converts a <see cref="Byte"/> value to an <see cref="mp_exp_t"/> value.
/// Converts a <see cref="Byte">Byte</see> value to an <see cref="mp_exp_t">mp_exp_t</see> value.
/// </summary>
/// <param name="value">A <see cref="Byte"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
/// <param name="value">A <see cref="Byte">Byte</see> value.</param>
/// <returns>An <see cref="mp_exp_t">mp_exp_t</see> value.</returns>
public static implicit operator mp_exp_t(sbyte value)
{
return new mp_exp_t(value);
}
/// <summary>
/// Converts a <see cref="UInt16"/> value to an <see cref="mp_exp_t"/> value.
/// Converts a <see cref="UInt16">UInt16</see> value to an <see cref="mp_exp_t">mp_exp_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt16"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
/// <param name="value">A <see cref="UInt16">UInt16</see> value.</param>
/// <returns>An <see cref="mp_exp_t">mp_exp_t</see> value.</returns>
public static implicit operator mp_exp_t(ushort value)
{
return new mp_exp_t(value);
}
/// <summary>
/// Converts an <see cref="Int16"/> value to an <see cref="mp_exp_t"/> value.
/// Converts an <see cref="Int16">Int16</see> value to an <see cref="mp_exp_t">mp_exp_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int16"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
/// <param name="value">An <see cref="Int16">Int16</see> value.</param>
/// <returns>An <see cref="mp_exp_t">mp_exp_t</see> value.</returns>
public static implicit operator mp_exp_t(short value)
{
return new mp_exp_t(value);
}
/// <summary>
/// Converts a <see cref="UInt32"/> value to an <see cref="mp_exp_t"/> value.
/// Converts a <see cref="UInt32">UInt32</see> value to an <see cref="mp_exp_t">mp_exp_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt32"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
/// <param name="value">A <see cref="UInt32">UInt32</see> value.</param>
/// <returns>An <see cref="mp_exp_t">mp_exp_t</see> value.</returns>
public static explicit operator mp_exp_t(uint value)
{
if (value > int.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_exp_t data type.", value));
@ -87,20 +87,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="Int32"/> value to an <see cref="mp_exp_t"/> value.
/// Converts an <see cref="Int32">Int32</see> value to an <see cref="mp_exp_t">mp_exp_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int32"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
/// <param name="value">An <see cref="Int32">Int32</see> value.</param>
/// <returns>An <see cref="mp_exp_t">mp_exp_t</see> value.</returns>
public static implicit operator mp_exp_t(int value)
{
return new mp_exp_t(value);
}
/// <summary>
/// Converts a <see cref="UInt64"/> value to an <see cref="mp_exp_t"/> value.
/// Converts a <see cref="UInt64">UInt64</see> value to an <see cref="mp_exp_t">mp_exp_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt64"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
/// <param name="value">A <see cref="UInt64">UInt64</see> value.</param>
/// <returns>An <see cref="mp_exp_t">mp_exp_t</see> value.</returns>
public static explicit operator mp_exp_t(ulong value)
{
if (value > int.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_exp_t data type.", value));
@ -108,10 +108,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="Int64"/> value to a <see cref="mp_exp_t"/> value.
/// Converts an <see cref="Int64">Int64</see> value to a <see cref="mp_exp_t">mp_exp_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int64"/> value.</param>
/// <returns>An <see cref="mp_exp_t"/> value.</returns>
/// <param name="value">An <see cref="Int64">Int64</see> value.</param>
/// <returns>An <see cref="mp_exp_t">mp_exp_t</see> value.</returns>
public static explicit operator mp_exp_t(long value)
{
if (value < uint.MinValue || value > uint.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_exp_t data type.", value));
@ -119,10 +119,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to a <see cref="Byte"/> value.
/// Converts an <see cref="mp_exp_t">mp_exp_t</see> value to a <see cref="Byte">Byte</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>A <see cref="Byte"/> value.</returns>
/// <param name="value">An <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <returns>A <see cref="Byte">Byte</see> value.</returns>
public static explicit operator byte(mp_exp_t value)
{
if (value.Value < 0 || value.Value > byte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Byte data type.", value));
@ -130,10 +130,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to an <see cref="SByte"/> value.
/// Converts an <see cref="mp_exp_t">mp_exp_t</see> value to an <see cref="SByte">SByte</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>An <see cref="SByte"/> value.</returns>
/// <param name="value">An <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <returns>An <see cref="SByte">SByte</see> value.</returns>
public static explicit operator sbyte(mp_exp_t value)
{
if (value.Value < sbyte.MinValue || value.Value > sbyte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the SByte data type.", value));
@ -141,10 +141,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to a <see cref="UInt16"/> value.
/// Converts an <see cref="mp_exp_t">mp_exp_t</see> value to a <see cref="UInt16">UInt16</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>A <see cref="UInt16"/> value.</returns>
/// <param name="value">An <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <returns>A <see cref="UInt16">UInt16</see> value.</returns>
public static explicit operator ushort(mp_exp_t value)
{
if (value.Value < 0 || value.Value > ushort.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt16 data type.", value));
@ -152,10 +152,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to an <see cref="Int16"/> value.
/// Converts an <see cref="mp_exp_t">mp_exp_t</see> value to an <see cref="Int16">Int16</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>An <see cref="Int16"/> value.</returns>
/// <param name="value">An <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <returns>An <see cref="Int16">Int16</see> value.</returns>
public static explicit operator short(mp_exp_t value)
{
if (value.Value < short.MinValue || value.Value > short.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int16 data type.", value));
@ -163,10 +163,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to a <see cref="UInt32"/> value.
/// Converts an <see cref="mp_exp_t">mp_exp_t</see> value to a <see cref="UInt32">UInt32</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>A <see cref="UInt32"/> value.</returns>
/// <param name="value">An <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <returns>A <see cref="UInt32">UInt32</see> value.</returns>
public static explicit operator uint(mp_exp_t value)
{
if (value.Value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt32 data type.", value));
@ -174,20 +174,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to an <see cref="Int32"/> value.
/// Converts an <see cref="mp_exp_t">mp_exp_t</see> value to an <see cref="Int32">Int32</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>An <see cref="Int32"/> value.</returns>
/// <param name="value">An <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <returns>An <see cref="Int32">Int32</see> value.</returns>
public static implicit operator int(mp_exp_t value)
{
return value.Value;
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to a <see cref="UInt64"/> value.
/// Converts an <see cref="mp_exp_t">mp_exp_t</see> value to a <see cref="UInt64">UInt64</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>A <see cref="UInt64"/> value.</returns>
/// <param name="value">An <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <returns>A <see cref="UInt64">UInt64</see> value.</returns>
public static explicit operator ulong(mp_exp_t value)
{
if (value.Value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt64 data type.", value));
@ -195,19 +195,19 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_exp_t"/> value to an <see cref="Int64"/> value.
/// Converts an <see cref="mp_exp_t">mp_exp_t</see> value to an <see cref="Int64">Int64</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_exp_t"/> value.</param>
/// <returns>An <see cref="Int64"/> value.</returns>
/// <param name="value">An <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <returns>An <see cref="Int64">Int64</see> value.</returns>
public static implicit operator long(mp_exp_t value)
{
return value.Value;
}
/// <summary>
/// Gets the string representation of the <see cref="mp_exp_t"/>.
/// Gets the string representation of the <see cref="mp_exp_t">mp_exp_t</see>.
/// </summary>
/// <returns>The string representation of the <see cref="mp_exp_t"/>.</returns>
/// <returns>The string representation of the <see cref="mp_exp_t">mp_exp_t</see>.</returns>
public override string ToString()
{
return Value.ToString(System.Globalization.CultureInfo.InvariantCulture);
@ -217,7 +217,7 @@ namespace Math.Gmp.Native
/// Returns a value indicating whether this instance is equal to a specified object.
/// </summary>
/// <param name="obj">An object to compare with this instance.</param>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="mp_exp_t"/> and equals the value of this instance; otherwise, <c>False</c>.</returns>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="mp_exp_t">mp_exp_t</see> and equals the value of this instance; otherwise, <c>False</c>.</returns>
public override bool Equals(object obj)
{
if (!(obj is mp_exp_t))
@ -227,9 +227,9 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Returns a value indicating whether this instance is equal to a specified <see cref="mp_exp_t"/> value.
/// Returns a value indicating whether this instance is equal to a specified <see cref="mp_exp_t">mp_exp_t</see> value.
/// </summary>
/// <param name="other">A <see cref="mp_exp_t"/> value to compare to this instance.</param>
/// <param name="other">A <see cref="mp_exp_t">mp_exp_t</see> value to compare to this instance.</param>
/// <returns><c>True</c> if <paramref name="other"/> has the same value as this instance; otherwise, <c>False</c>.</returns>
public bool Equals(mp_exp_t other)
{
@ -248,8 +248,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are equal.
/// </summary>
/// <param name="value1">A <see cref="mp_exp_t"/> value.</param>
/// <param name="value2">A <see cref="mp_exp_t"/> value.</param>
/// <param name="value1">A <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <param name="value2">A <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <returns><c>True</c> if the two values are equal, and <c>False</c> otherwise.</returns>
public static bool operator ==(mp_exp_t value1, mp_exp_t value2)
{
@ -259,8 +259,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are different.
/// </summary>
/// <param name="value1">A <see cref="mp_exp_t"/> value.</param>
/// <param name="value2">A <see cref="mp_exp_t"/> value.</param>
/// <param name="value1">A <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <param name="value2">A <see cref="mp_exp_t">mp_exp_t</see> value.</param>
/// <returns><c>True</c> if the two values are different, and <c>False</c> otherwise.</returns>
public static bool operator !=(mp_exp_t value1, mp_exp_t value2)
{

View File

@ -15,42 +15,42 @@ namespace Math.Gmp.Native
/// and containing several digits.) Normally a limb is 32 or 64 bits.
/// </para>
/// </remarks>
/// <seealso cref="mpf_t"/>
/// <seealso cref="mpq_t"/>
/// <seealso cref="mpz_t"/>
/// <seealso cref="mpf_t">mpf_t</seealso>
/// <seealso cref="mpq_t">mpq_t</seealso>
/// <seealso cref="mpz_t">mpz_t</seealso>
public struct mp_limb_t
{
/// <summary>
/// The <see cref="mp_limb_t"/> value.
/// The <see cref="mp_limb_t">mp_limb_t</see> value.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public ulong Value;
/// <summary>
/// Creates a new <see cref="mp_limb_t"/>, and sets its <paramref name="value"/>.
/// Creates a new <see cref="mp_limb_t">mp_limb_t</see>, and sets its <paramref name="value"/>.
/// </summary>
/// <param name="value">The value of the new <see cref="mp_limb_t"/>.</param>
/// <param name="value">The value of the new <see cref="mp_limb_t">mp_limb_t</see>.</param>
public mp_limb_t(ulong value)
{
this.Value = value;
}
/// <summary>
/// Converts a <see cref="Byte"/> value to an <see cref="mp_limb_t"/> value.
/// Converts a <see cref="Byte">Byte</see> value to an <see cref="mp_limb_t">mp_limb_t</see> value.
/// </summary>
/// <param name="value">A <see cref="Byte"/> value.</param>
/// <returns>An <see cref="mp_limb_t"/> value.</returns>
/// <param name="value">A <see cref="Byte">Byte</see> value.</param>
/// <returns>An <see cref="mp_limb_t">mp_limb_t</see> value.</returns>
public static implicit operator mp_limb_t(byte value)
{
return new mp_limb_t(value);
}
/// <summary>
/// Converts a <see cref="SByte"/> value to an <see cref="mp_limb_t"/> value.
/// Converts a <see cref="SByte">SByte</see> value to an <see cref="mp_limb_t">mp_limb_t</see> value.
/// </summary>
/// <param name="value">A <see cref="SByte"/> value.</param>
/// <returns>An <see cref="mp_limb_t"/> value.</returns>
/// <param name="value">A <see cref="SByte">SByte</see> value.</param>
/// <returns>An <see cref="mp_limb_t">mp_limb_t</see> value.</returns>
public static explicit operator mp_limb_t(sbyte value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_limb_t data type.", value));
@ -58,20 +58,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="UInt16"/> value to an <see cref="mp_limb_t"/> value.
/// Converts a <see cref="UInt16">UInt16</see> value to an <see cref="mp_limb_t">mp_limb_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt16"/> value.</param>
/// <returns>An <see cref="mp_limb_t"/> value.</returns>
/// <param name="value">A <see cref="UInt16">UInt16</see> value.</param>
/// <returns>An <see cref="mp_limb_t">mp_limb_t</see> value.</returns>
public static implicit operator mp_limb_t(ushort value)
{
return new mp_limb_t(value);
}
/// <summary>
/// Converts an <see cref="Int16"/> value to an <see cref="mp_limb_t"/> value.
/// Converts an <see cref="Int16">Int16</see> value to an <see cref="mp_limb_t">mp_limb_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int16"/> value.</param>
/// <returns>An <see cref="mp_limb_t"/> value.</returns>
/// <param name="value">An <see cref="Int16">Int16</see> value.</param>
/// <returns>An <see cref="mp_limb_t">mp_limb_t</see> value.</returns>
public static explicit operator mp_limb_t(short value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_limb_t data type.", value));
@ -79,20 +79,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="UInt32"/> value to an <see cref="mp_limb_t"/> value.
/// Converts a <see cref="UInt32">UInt32</see> value to an <see cref="mp_limb_t">mp_limb_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt32"/> value.</param>
/// <returns>An <see cref="mp_limb_t"/> value.</returns>
/// <param name="value">A <see cref="UInt32">UInt32</see> value.</param>
/// <returns>An <see cref="mp_limb_t">mp_limb_t</see> value.</returns>
public static implicit operator mp_limb_t(uint value)
{
return new mp_limb_t(value);
}
/// <summary>
/// Converts an <see cref="Int32"/> value to an <see cref="mp_limb_t"/> value.
/// Converts an <see cref="Int32">Int32</see> value to an <see cref="mp_limb_t">mp_limb_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int32"/> value.</param>
/// <returns>An <see cref="mp_limb_t"/> value.</returns>
/// <param name="value">An <see cref="Int32">Int32</see> value.</param>
/// <returns>An <see cref="mp_limb_t">mp_limb_t</see> value.</returns>
public static explicit operator mp_limb_t(int value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_limb_t data type.", value));
@ -100,20 +100,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="UInt64"/> value to an <see cref="mp_limb_t"/> value.
/// Converts a <see cref="UInt64">UInt64</see> value to an <see cref="mp_limb_t">mp_limb_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt64"/> value.</param>
/// <returns>An <see cref="mp_limb_t"/> value.</returns>
/// <param name="value">A <see cref="UInt64">UInt64</see> value.</param>
/// <returns>An <see cref="mp_limb_t">mp_limb_t</see> value.</returns>
public static implicit operator mp_limb_t(ulong value)
{
return new mp_limb_t(value);
}
/// <summary>
/// Converts an <see cref="Int64"/> value to an <see cref="mp_limb_t"/> value.
/// Converts an <see cref="Int64">Int64</see> value to an <see cref="mp_limb_t">mp_limb_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int64"/> value.</param>
/// <returns>An <see cref="mp_limb_t"/> value.</returns>
/// <param name="value">An <see cref="Int64">Int64</see> value.</param>
/// <returns>An <see cref="mp_limb_t">mp_limb_t</see> value.</returns>
public static explicit operator mp_limb_t(long value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_limb_t data type.", value));
@ -121,10 +121,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="mp_limb_t"/> value to a <see cref="Byte"/> value.
/// Converts a <see cref="mp_limb_t">mp_limb_t</see> value to a <see cref="Byte">Byte</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_limb_t"/> value.</param>
/// <returns>A <see cref="Byte"/> value.</returns>
/// <param name="value">An <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <returns>A <see cref="Byte">Byte</see> value.</returns>
public static explicit operator byte(mp_limb_t value)
{
if (value.Value > byte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Byte data type.", value));
@ -132,10 +132,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="mp_limb_t"/> value to an <see cref="SByte"/> value.
/// Converts a <see cref="mp_limb_t">mp_limb_t</see> value to an <see cref="SByte">SByte</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_limb_t"/> value.</param>
/// <returns>An <see cref="SByte"/> value.</returns>
/// <param name="value">An <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <returns>An <see cref="SByte">SByte</see> value.</returns>
public static explicit operator sbyte(mp_limb_t value)
{
if (value.Value > (ulong)sbyte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the SByte data type.", value));
@ -143,10 +143,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="mp_limb_t"/> value to a <see cref="UInt16"/> value.
/// Converts a <see cref="mp_limb_t">mp_limb_t</see> value to a <see cref="UInt16">UInt16</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_limb_t"/> value.</param>
/// <returns>A <see cref="UInt16"/> value.</returns>
/// <param name="value">An <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <returns>A <see cref="UInt16">UInt16</see> value.</returns>
public static explicit operator ushort(mp_limb_t value)
{
if (value.Value > ushort.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt16 data type.", value));
@ -154,10 +154,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="mp_limb_t"/> value to an <see cref="Int16"/> value.
/// Converts a <see cref="mp_limb_t">mp_limb_t</see> value to an <see cref="Int16">Int16</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_limb_t"/> value.</param>
/// <returns>An <see cref="Int16"/> value.</returns>
/// <param name="value">An <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <returns>An <see cref="Int16">Int16</see> value.</returns>
public static explicit operator short(mp_limb_t value)
{
if (value.Value > (ulong)short.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int16 data type.", value));
@ -165,10 +165,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="mp_limb_t"/> value to a <see cref="UInt32"/> value.
/// Converts a <see cref="mp_limb_t">mp_limb_t</see> value to a <see cref="UInt32">UInt32</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_limb_t"/> value.</param>
/// <returns>A <see cref="UInt32"/> value.</returns>
/// <param name="value">An <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <returns>A <see cref="UInt32">UInt32</see> value.</returns>
public static explicit operator uint(mp_limb_t value)
{
if (value.Value > uint.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt32 data type.", value));
@ -176,10 +176,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="mp_limb_t"/> value to an <see cref="Int32"/> value.
/// Converts a <see cref="mp_limb_t">mp_limb_t</see> value to an <see cref="Int32">Int32</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_limb_t"/> value.</param>
/// <returns>An <see cref="Int32"/> value.</returns>
/// <param name="value">An <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <returns>An <see cref="Int32">Int32</see> value.</returns>
public static explicit operator int(mp_limb_t value)
{
if (value.Value > int.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int32 data type.", value));
@ -187,20 +187,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="mp_limb_t"/> value to a <see cref="UInt64"/> value.
/// Converts a <see cref="mp_limb_t">mp_limb_t</see> value to a <see cref="UInt64">UInt64</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_limb_t"/> value.</param>
/// <returns>A <see cref="UInt64"/> value.</returns>
/// <param name="value">An <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <returns>A <see cref="UInt64">UInt64</see> value.</returns>
public static implicit operator ulong(mp_limb_t value)
{
return value.Value;
}
/// <summary>
/// Converts a <see cref="mp_limb_t"/> value to an <see cref="Int64"/> value.
/// Converts a <see cref="mp_limb_t">mp_limb_t</see> value to an <see cref="Int64">Int64</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_limb_t"/> value.</param>
/// <returns>An <see cref="Int64"/> value.</returns>
/// <param name="value">An <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <returns>An <see cref="Int64">Int64</see> value.</returns>
public static explicit operator long(mp_limb_t value)
{
if (value.Value > long.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int64 data type.", value));
@ -208,9 +208,9 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Gets the string representation of the <see cref="mp_limb_t"/>.
/// Gets the string representation of the <see cref="mp_limb_t">mp_limb_t</see>.
/// </summary>
/// <returns>The string representation of the <see cref="mp_limb_t"/>.</returns>
/// <returns>The string representation of the <see cref="mp_limb_t">mp_limb_t</see>.</returns>
public override string ToString()
{
return "0x" + Value.ToString(gmp_lib.mp_bytes_per_limb == 4 ? "x8" : "x16", System.Globalization.CultureInfo.InvariantCulture);
@ -220,7 +220,7 @@ namespace Math.Gmp.Native
/// Returns a value indicating whether this instance is equal to a specified object.
/// </summary>
/// <param name="obj">An object to compare with this instance.</param>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="mp_limb_t"/> and equals the value of this instance; otherwise, <c>False</c>.</returns>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="mp_limb_t">mp_limb_t</see> and equals the value of this instance; otherwise, <c>False</c>.</returns>
public override bool Equals(object obj)
{
if (!(obj is mp_limb_t))
@ -230,9 +230,9 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Returns a value indicating whether this instance is equal to a specified <see cref="mp_limb_t"/> value.
/// Returns a value indicating whether this instance is equal to a specified <see cref="mp_limb_t">mp_limb_t</see> value.
/// </summary>
/// <param name="other">A <see cref="mp_limb_t"/> value to compare to this instance.</param>
/// <param name="other">A <see cref="mp_limb_t">mp_limb_t</see> value to compare to this instance.</param>
/// <returns><c>True</c> if <paramref name="other"/> has the same value as this instance; otherwise, <c>False</c>.</returns>
public bool Equals(mp_limb_t other)
{
@ -251,8 +251,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are equal.
/// </summary>
/// <param name="value1">A <see cref="mp_limb_t"/> value.</param>
/// <param name="value2">A <see cref="mp_limb_t"/> value.</param>
/// <param name="value1">A <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <param name="value2">A <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <returns><c>True</c> if the two values are equal, and <c>False</c> otherwise.</returns>
public static bool operator ==(mp_limb_t value1, mp_limb_t value2)
{
@ -262,8 +262,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are different.
/// </summary>
/// <param name="value1">A <see cref="mp_limb_t"/> value.</param>
/// <param name="value2">A <see cref="mp_limb_t"/> value.</param>
/// <param name="value1">A <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <param name="value2">A <see cref="mp_limb_t">mp_limb_t</see> value.</param>
/// <returns><c>True</c> if the two values are different, and <c>False</c> otherwise.</returns>
public static bool operator !=(mp_limb_t value1, mp_limb_t value2)
{

View File

@ -9,7 +9,7 @@ namespace Math.Gmp.Native
{
/// <summary>
/// Represents a pointer to an array of <see cref="mp_limb_t"/> values in unmanaged memory,
/// Represents a pointer to an array of <see cref="mp_limb_t">mp_limb_t</see> values in unmanaged memory,
/// </summary>
/// <remarks>
/// <para>
@ -27,7 +27,7 @@ namespace Math.Gmp.Native
/// <param name="size">The number of limbs.</param>
/// <remarks>
/// <para>
/// When done with the array, you must release the unmanaged memory by calling <see cref="gmp_lib.free(mp_ptr[])"/>.
/// When done with the array, you must release the unmanaged memory by calling <see cref="gmp_lib.free(mp_ptr[])">free</see>.
/// </para>
/// </remarks>
public mp_ptr(mp_size_t size) : this(new uint[size * gmp_lib.mp_uint_per_limb])
@ -43,7 +43,7 @@ namespace Math.Gmp.Native
/// If there is not enough bytes to fill out the most significant limb, it is padded with zeroes.
/// </para>
/// <para>
/// When done with the array, you must release the unmanaged memory by calling <see cref="gmp_lib.free(mp_ptr[])"/>.
/// When done with the array, you must release the unmanaged memory by calling <see cref="gmp_lib.free(mp_ptr[])">free</see>.
/// </para>
/// </remarks>
public mp_ptr(byte[] values)
@ -73,7 +73,7 @@ namespace Math.Gmp.Native
/// If there is not enough 16-bit words to fill out the most significant limb, it is padded with zeroes.
/// </para>
/// <para>
/// When done with the array, you must release the unmanaged memory by calling <see cref="gmp_lib.free(mp_ptr[])"/>.
/// When done with the array, you must release the unmanaged memory by calling <see cref="gmp_lib.free(mp_ptr[])">free</see>.
/// </para>
/// </remarks>
public mp_ptr(ushort[] values)
@ -95,7 +95,7 @@ namespace Math.Gmp.Native
/// If there is not enough 32-bit words to fill out the most significant limb, it is padded with zeroes.
/// </para>
/// <para>
/// When done with the array, you must release the unmanaged memory by calling <see cref="gmp_lib.free(mp_ptr[])"/>.
/// When done with the array, you must release the unmanaged memory by calling <see cref="gmp_lib.free(mp_ptr[])">free</see>.
/// </para>
/// </remarks>
public mp_ptr(uint[] values)
@ -117,7 +117,7 @@ namespace Math.Gmp.Native
/// If limbs size is 32 bits, the 64-bit values are split into 32-bit limbs.
/// </para>
/// <para>
/// When done with the array, you must release the unmanaged memory by calling <see cref="gmp_lib.free(mp_ptr[])"/>.
/// When done with the array, you must release the unmanaged memory by calling <see cref="gmp_lib.free(mp_ptr[])">free</see>.
/// </para>
/// </remarks>
public mp_ptr(ulong[] values)

View File

@ -10,7 +10,7 @@ namespace Math.Gmp.Native
/// </summary>
/// <remarks>
/// <para>
/// Counts of limbs of a multi-precision number represented in the C type <see cref="mp_size_t"/>.
/// Counts of limbs of a multi-precision number represented in the C type <see cref="mp_size_t">mp_size_t</see>.
/// Currently this is normally a long, but on some systems its an int for efficiency,
/// and on some systems it will be long long in the future.
/// </para>
@ -18,73 +18,73 @@ namespace Math.Gmp.Native
/// In .Net, this is a 32-bit integer.
/// </para>
/// </remarks>
/// <seealso cref="mp_limb_t"/>
/// <seealso cref="mpf_t"/>
/// <seealso cref="mpq_t"/>
/// <seealso cref="mpz_t"/>
/// <seealso cref="mp_limb_t">mp_limb_t</seealso>
/// <seealso cref="mpf_t">mpf_t</seealso>
/// <seealso cref="mpq_t">mpq_t</seealso>
/// <seealso cref="mpz_t">mpz_t</seealso>
public struct mp_size_t
{
/// <summary>
/// The <see cref="mp_size_t"/> value.
/// The <see cref="mp_size_t">mp_size_t</see> value.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public int Value;
/// <summary>
/// Creates a new <see cref="mp_size_t"/>, and sets its <paramref name="value"/>.
/// Creates a new <see cref="mp_size_t">mp_size_t</see>, and sets its <paramref name="value"/>.
/// </summary>
/// <param name="value">The value of the new <see cref="mp_size_t"/>.</param>
/// <param name="value">The value of the new <see cref="mp_size_t">mp_size_t</see>.</param>
public mp_size_t(int value)
{
this.Value = value;
}
/// <summary>
/// Converts a <see cref="Byte"/> value to an <see cref="mp_size_t"/> value.
/// Converts a <see cref="Byte">Byte</see> value to an <see cref="mp_size_t">mp_size_t</see> value.
/// </summary>
/// <param name="value">A <see cref="Byte"/> value.</param>
/// <returns>An <see cref="mp_size_t"/> value.</returns>
/// <param name="value">A <see cref="Byte">Byte</see> value.</param>
/// <returns>An <see cref="mp_size_t">mp_size_t</see> value.</returns>
public static implicit operator mp_size_t(byte value)
{
return new mp_size_t(value);
}
/// <summary>
/// Converts a <see cref="Byte"/> value to an <see cref="mp_size_t"/> value.
/// Converts a <see cref="Byte">Byte</see> value to an <see cref="mp_size_t">mp_size_t</see> value.
/// </summary>
/// <param name="value">A <see cref="Byte"/> value.</param>
/// <returns>An <see cref="mp_size_t"/> value.</returns>
/// <param name="value">A <see cref="Byte">Byte</see> value.</param>
/// <returns>An <see cref="mp_size_t">mp_size_t</see> value.</returns>
public static implicit operator mp_size_t(sbyte value)
{
return new mp_size_t(value);
}
/// <summary>
/// Converts a <see cref="UInt16"/> value to an <see cref="mp_size_t"/> value.
/// Converts a <see cref="UInt16">UInt16</see> value to an <see cref="mp_size_t">mp_size_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt16"/> value.</param>
/// <returns>An <see cref="mp_size_t"/> value.</returns>
/// <param name="value">A <see cref="UInt16">UInt16</see> value.</param>
/// <returns>An <see cref="mp_size_t">mp_size_t</see> value.</returns>
public static implicit operator mp_size_t(ushort value)
{
return new mp_size_t(value);
}
/// <summary>
/// Converts an <see cref="Int16"/> value to an <see cref="mp_size_t"/> value.
/// Converts an <see cref="Int16">Int16</see> value to an <see cref="mp_size_t">mp_size_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int16"/> value.</param>
/// <returns>An <see cref="mp_size_t"/> value.</returns>
/// <param name="value">An <see cref="Int16">Int16</see> value.</param>
/// <returns>An <see cref="mp_size_t">mp_size_t</see> value.</returns>
public static implicit operator mp_size_t(short value)
{
return new mp_size_t(value);
}
/// <summary>
/// Converts a <see cref="UInt32"/> value to an <see cref="mp_size_t"/> value.
/// Converts a <see cref="UInt32">UInt32</see> value to an <see cref="mp_size_t">mp_size_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt32"/> value.</param>
/// <returns>An <see cref="mp_size_t"/> value.</returns>
/// <param name="value">A <see cref="UInt32">UInt32</see> value.</param>
/// <returns>An <see cref="mp_size_t">mp_size_t</see> value.</returns>
public static explicit operator mp_size_t(uint value)
{
if (value > int.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_size_t data type.", value));
@ -92,20 +92,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="Int32"/> value to an <see cref="mp_size_t"/> value.
/// Converts an <see cref="Int32">Int32</see> value to an <see cref="mp_size_t">mp_size_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int32"/> value.</param>
/// <returns>An <see cref="mp_size_t"/> value.</returns>
/// <param name="value">An <see cref="Int32">Int32</see> value.</param>
/// <returns>An <see cref="mp_size_t">mp_size_t</see> value.</returns>
public static implicit operator mp_size_t(int value)
{
return new mp_size_t(value);
}
/// <summary>
/// Converts a <see cref="UInt64"/> value to an <see cref="mp_size_t"/> value.
/// Converts a <see cref="UInt64">UInt64</see> value to an <see cref="mp_size_t">mp_size_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt64"/> value.</param>
/// <returns>An <see cref="mp_size_t"/> value.</returns>
/// <param name="value">A <see cref="UInt64">UInt64</see> value.</param>
/// <returns>An <see cref="mp_size_t">mp_size_t</see> value.</returns>
public static explicit operator mp_size_t(ulong value)
{
if (value > int.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_size_t data type.", value));
@ -113,10 +113,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="Int64"/> value to a <see cref="mp_size_t"/> value.
/// Converts an <see cref="Int64">Int64</see> value to a <see cref="mp_size_t">mp_size_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int64"/> value.</param>
/// <returns>An <see cref="mp_size_t"/> value.</returns>
/// <param name="value">An <see cref="Int64">Int64</see> value.</param>
/// <returns>An <see cref="mp_size_t">mp_size_t</see> value.</returns>
public static explicit operator mp_size_t(long value)
{
if (value < uint.MinValue || value > uint.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the mp_size_t data type.", value));
@ -124,10 +124,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_size_t"/> value to a <see cref="Byte"/> value.
/// Converts an <see cref="mp_size_t">mp_size_t</see> value to a <see cref="Byte">Byte</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_size_t"/> value.</param>
/// <returns>A <see cref="Byte"/> value.</returns>
/// <param name="value">An <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <returns>A <see cref="Byte">Byte</see> value.</returns>
public static explicit operator byte(mp_size_t value)
{
if (value.Value < 0 || value.Value > byte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Byte data type.", value));
@ -135,10 +135,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_size_t"/> value to an <see cref="SByte"/> value.
/// Converts an <see cref="mp_size_t">mp_size_t</see> value to an <see cref="SByte">SByte</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_size_t"/> value.</param>
/// <returns>An <see cref="SByte"/> value.</returns>
/// <param name="value">An <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <returns>An <see cref="SByte">SByte</see> value.</returns>
public static explicit operator sbyte(mp_size_t value)
{
if (value.Value < sbyte.MinValue || value.Value > sbyte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the SByte data type.", value));
@ -146,10 +146,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_size_t"/> value to a <see cref="UInt16"/> value.
/// Converts an <see cref="mp_size_t">mp_size_t</see> value to a <see cref="UInt16">UInt16</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_size_t"/> value.</param>
/// <returns>A <see cref="UInt16"/> value.</returns>
/// <param name="value">An <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <returns>A <see cref="UInt16">UInt16</see> value.</returns>
public static explicit operator ushort(mp_size_t value)
{
if (value.Value < 0 || value.Value > ushort.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt16 data type.", value));
@ -157,10 +157,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_size_t"/> value to an <see cref="Int16"/> value.
/// Converts an <see cref="mp_size_t">mp_size_t</see> value to an <see cref="Int16">Int16</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_size_t"/> value.</param>
/// <returns>An <see cref="Int16"/> value.</returns>
/// <param name="value">An <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <returns>An <see cref="Int16">Int16</see> value.</returns>
public static explicit operator short(mp_size_t value)
{
if (value.Value < short.MinValue || value.Value > short.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int16 data type.", value));
@ -168,10 +168,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_size_t"/> value to a <see cref="UInt32"/> value.
/// Converts an <see cref="mp_size_t">mp_size_t</see> value to a <see cref="UInt32">UInt32</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_size_t"/> value.</param>
/// <returns>A <see cref="UInt32"/> value.</returns>
/// <param name="value">An <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <returns>A <see cref="UInt32">UInt32</see> value.</returns>
public static explicit operator uint(mp_size_t value)
{
if (value.Value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt32 data type.", value));
@ -179,20 +179,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_size_t"/> value to an <see cref="Int32"/> value.
/// Converts an <see cref="mp_size_t">mp_size_t</see> value to an <see cref="Int32">Int32</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_size_t"/> value.</param>
/// <returns>An <see cref="Int32"/> value.</returns>
/// <param name="value">An <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <returns>An <see cref="Int32">Int32</see> value.</returns>
public static implicit operator int(mp_size_t value)
{
return value.Value;
}
/// <summary>
/// Converts an <see cref="mp_size_t"/> value to a <see cref="UInt64"/> value.
/// Converts an <see cref="mp_size_t">mp_size_t</see> value to a <see cref="UInt64">UInt64</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_size_t"/> value.</param>
/// <returns>A <see cref="UInt64"/> value.</returns>
/// <param name="value">An <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <returns>A <see cref="UInt64">UInt64</see> value.</returns>
public static explicit operator ulong(mp_size_t value)
{
if (value.Value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt64 data type.", value));
@ -200,19 +200,19 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts an <see cref="mp_size_t"/> value to an <see cref="Int64"/> value.
/// Converts an <see cref="mp_size_t">mp_size_t</see> value to an <see cref="Int64">Int64</see> value.
/// </summary>
/// <param name="value">An <see cref="mp_size_t"/> value.</param>
/// <returns>An <see cref="Int64"/> value.</returns>
/// <param name="value">An <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <returns>An <see cref="Int64">Int64</see> value.</returns>
public static implicit operator long(mp_size_t value)
{
return value.Value;
}
/// <summary>
/// Gets the string representation of the <see cref="mp_size_t"/>.
/// Gets the string representation of the <see cref="mp_size_t">mp_size_t</see>.
/// </summary>
/// <returns>The string representation of the <see cref="mp_size_t"/>.</returns>
/// <returns>The string representation of the <see cref="mp_size_t">mp_size_t</see>.</returns>
public override string ToString()
{
return Value.ToString(System.Globalization.CultureInfo.InvariantCulture);
@ -222,7 +222,7 @@ namespace Math.Gmp.Native
/// Returns a value indicating whether this instance is equal to a specified object.
/// </summary>
/// <param name="obj">An object to compare with this instance.</param>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="mp_size_t"/> and equals the value of this instance; otherwise, <c>False</c>.</returns>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="mp_size_t">mp_size_t</see> and equals the value of this instance; otherwise, <c>False</c>.</returns>
public override bool Equals(object obj)
{
if (!(obj is mp_size_t))
@ -232,9 +232,9 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Returns a value indicating whether this instance is equal to a specified <see cref="mp_size_t"/> value.
/// Returns a value indicating whether this instance is equal to a specified <see cref="mp_size_t">mp_size_t</see> value.
/// </summary>
/// <param name="other">A <see cref="mp_size_t"/> value to compare to this instance.</param>
/// <param name="other">A <see cref="mp_size_t">mp_size_t</see> value to compare to this instance.</param>
/// <returns><c>True</c> if <paramref name="other"/> has the same value as this instance; otherwise, <c>False</c>.</returns>
public bool Equals(mp_size_t other)
{
@ -253,8 +253,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are equal.
/// </summary>
/// <param name="value1">A <see cref="mp_size_t"/> value.</param>
/// <param name="value2">A <see cref="mp_size_t"/> value.</param>
/// <param name="value1">A <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <param name="value2">A <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <returns><c>True</c> if the two values are equal, and <c>False</c> otherwise.</returns>
public static bool operator ==(mp_size_t value1, mp_size_t value2)
{
@ -264,8 +264,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are different.
/// </summary>
/// <param name="value1">A <see cref="mp_size_t"/> value.</param>
/// <param name="value2">A <see cref="mp_size_t"/> value.</param>
/// <param name="value1">A <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <param name="value2">A <see cref="mp_size_t">mp_size_t</see> value.</param>
/// <returns><c>True</c> if the two values are different, and <c>False</c> otherwise.</returns>
public static bool operator !=(mp_size_t value1, mp_size_t value2)
{

View File

@ -11,17 +11,17 @@ namespace Math.Gmp.Native
/// </summary>
/// <remarks>
/// <para>
/// The floating point functions accept and return exponents in the C type <see cref="mp_exp_t"/>.
/// The floating point functions accept and return exponents in the C type <see cref="mp_exp_t">mp_exp_t</see>.
/// Currently this is usually a long, but on some systems its an int for efficiency.
/// </para>
/// <para>
/// In .NET, this is a 32-bit integer.
/// </para>
/// </remarks>
/// <seealso cref="mp_exp_t"/>
/// <seealso cref="mp_limb_t"/>
/// <seealso cref="mpq_t"/>
/// <seealso cref="mpz_t"/>
/// <seealso cref="mp_exp_t">mp_exp_t</seealso>
/// <seealso cref="mp_limb_t">mp_limb_t</seealso>
/// <seealso cref="mpq_t">mpq_t</seealso>
/// <seealso cref="mpz_t">mpz_t</seealso>
public class mpf_t : mp_base
{
@ -53,9 +53,9 @@ namespace Math.Gmp.Native
/// </summary>
/// <remarks>
/// <para>
/// Zero is represented by <see cref="_mp_size"/> and <see cref="_mp_exp"/> both set to zero,
/// and in that case the <see cref="mp_base._mp_d"/> data is unused.
/// (In the future <see cref="_mp_exp"/> might be undefined when representing zero.)
/// Zero is represented by <see cref="_mp_size">_mp_size</see> and <see cref="_mp_exp">_mp_exp</see> both set to zero,
/// and in that case the <see cref="mp_base._mp_d">mp_base._mp_d</see> data is unused.
/// (In the future <see cref="_mp_exp">_mp_exp</see> might be undefined when representing zero.)
/// </para>
/// </remarks>
public override mp_size_t _mp_size
@ -71,7 +71,7 @@ namespace Math.Gmp.Native
/// </summary>
/// <remarks>
/// <para>
/// In any calculation the aim is to produce <see cref="_mp_prec"/> limbs of result (the most significant being non-zero).
/// In any calculation the aim is to produce <see cref="_mp_prec">_mp_prec</see> limbs of result (the most significant being non-zero).
/// </para>
/// </remarks>
public int _mp_prec
@ -94,7 +94,7 @@ namespace Math.Gmp.Native
/// <para>
/// Naturally the exponent can be any value, it doesnt have to fall within the limbs as the diagram shows,
/// it can be a long way above or a long way below.
/// Limbs other than those included in the {<see cref="mp_base._mp_d"/>, <see cref="_mp_size"/>} data are treated as zero.
/// Limbs other than those included in the {<see cref="mp_base._mp_d">mp_base._mp_d</see>, <see cref="_mp_size">_mp_size</see>} data are treated as zero.
/// </para>
/// </remarks>
public int _mp_exp
@ -131,10 +131,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="string"/> value to an <see cref="mpf_t"/> value.
/// Converts a <see cref="string">string</see> value to an <see cref="mpf_t">mpf_t</see> value.
/// </summary>
/// <param name="value">A <see cref="string"/> value.</param>
/// <returns>An <see cref="mpf_t"/> value.</returns>
/// <param name="value">A <see cref="string">string</see> value.</param>
/// <returns>An <see cref="mpf_t">mpf_t</see> value.</returns>
/// <remarks>
/// <para>
/// Base is assumed to be 10 unless the first character of the string is <c>B</c>

View File

@ -10,8 +10,8 @@ namespace Math.Gmp.Native
/// Represents a multiple precision rational number.
/// </summary>
/// <remarks></remarks>
/// <seealso cref="mpf_t"/>
/// <seealso cref="mpz_t"/>
/// <seealso cref="mpf_t">mpf_t</seealso>
/// <seealso cref="mpz_t">mpz_t</seealso>
public class mpq_t
{
@ -72,10 +72,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="string"/> value to an <see cref="mpq_t"/> value.
/// Converts a <see cref="string">string</see> value to an <see cref="mpq_t">mpq_t</see> value.
/// </summary>
/// <param name="value">A <see cref="string"/> value.</param>
/// <returns>An <see cref="mpq_t"/> value.</returns>
/// <param name="value">A <see cref="string">string</see> value.</param>
/// <returns>An <see cref="mpq_t">mpq_t</see> value.</returns>
/// <remarks>
/// <para>
/// The leading characters are used: <c>0x</c> and <c>0X</c> for hexadecimal,

View File

@ -10,9 +10,9 @@ namespace Math.Gmp.Native
/// Represents a multiple precision integer.
/// </summary>
/// <remarks></remarks>
/// <seealso cref="mp_limb_t"/>
/// <seealso cref="mpf_t"/>
/// <seealso cref="mpq_t"/>
/// <seealso cref="mp_limb_t">mp_limb_t</seealso>
/// <seealso cref="mpf_t">mpf_t</seealso>
/// <seealso cref="mpq_t">mpq_t</seealso>
public class mpz_t : mp_base
{
@ -42,14 +42,14 @@ namespace Math.Gmp.Native
}
/// <summary>
/// The number of limbs currently allocated at <see cref="mp_base._mp_d"/>.
/// The number of limbs currently allocated at <see cref="mp_base._mp_d">mp_base._mp_d</see>.
/// </summary>
/// <remarks>
/// <para>
/// <see cref="mpz_t._mp_alloc"/> is the number of limbs currently allocated at <see cref="mp_base._mp_d"/>,
/// and naturally <see cref="mpz_t._mp_alloc"/> >= ABS(<see cref="mpz_t._mp_size"/>).
/// When an mpz routine is about to (or might be about to) increase <see cref="mpz_t._mp_size"/>, it checks
/// <see cref="mpz_t._mp_alloc"/> to see whether theres enough space, and reallocates if not.
/// <see cref="mpz_t._mp_alloc">mpz_t._mp_alloc</see> is the number of limbs currently allocated at <see cref="mp_base._mp_d">mp_base._mp_d</see>,
/// and naturally <see cref="mpz_t._mp_alloc">mpz_t._mp_alloc</see> >= ABS(<see cref="mpz_t._mp_size">mpz_t._mp_size</see>).
/// When an mpz routine is about to (or might be about to) increase <see cref="mpz_t._mp_size">mpz_t._mp_size</see>, it checks
/// <see cref="mpz_t._mp_alloc">mpz_t._mp_alloc</see> to see whether theres enough space, and reallocates if not.
/// </para>
/// </remarks>
public int _mp_alloc
@ -66,8 +66,8 @@ namespace Math.Gmp.Native
/// <remarks>
/// <para>
/// The number of limbs, or the negative of that when representing a negative integer.
/// Zero is represented by <see cref="mp_base._mp_size"/> set to zero, in which case
/// the <see cref="mp_base._mp_d"/> data is unused.
/// Zero is represented by <see cref="mp_base._mp_size">mp_base._mp_size</see> set to zero, in which case
/// the <see cref="mp_base._mp_d">mp_base._mp_d</see> data is unused.
/// </para>
/// </remarks>
public override mp_size_t _mp_size
@ -104,10 +104,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="string"/> value to an <see cref="mpz_t"/> value.
/// Converts a <see cref="string">string</see> value to an <see cref="mpz_t">mpz_t</see> value.
/// </summary>
/// <param name="value">A <see cref="string"/> value.</param>
/// <returns>An <see cref="mpz_t"/> value.</returns>
/// <param name="value">A <see cref="string">string</see> value.</param>
/// <returns>An <see cref="mpz_t">mpz_t</see> value.</returns>
/// <remarks>
/// <para>
/// The leading characters are used: <c>0x</c> and <c>0X</c> for hexadecimal,

View File

@ -36,7 +36,7 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Creates a new pointer with <see cref="Value"/> set to <paramref name="value"/>.
/// Creates a new pointer with <see cref="Value">Value</see> set to <paramref name="value"/>.
/// </summary>
/// <param name="value">The initial value.</param>
public ptr(T value)

View File

@ -17,35 +17,35 @@ namespace Math.Gmp.Native
{
/// <summary>
/// The <see cref="size_t"/> value.
/// The <see cref="size_t">size_t</see> value.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public ulong Value;
/// <summary>
/// Creates a new <see cref="size_t"/>, and sets its <paramref name="value"/>.
/// Creates a new <see cref="size_t">size_t</see>, and sets its <paramref name="value"/>.
/// </summary>
/// <param name="value">The value of the new <see cref="size_t"/>.</param>
/// <param name="value">The value of the new <see cref="size_t">size_t</see>.</param>
public size_t(ulong value)
{
this.Value = value;
}
/// <summary>
/// Converts a <see cref="Byte"/> value to a <see cref="size_t"/> value.
/// Converts a <see cref="Byte">Byte</see> value to a <see cref="size_t">size_t</see> value.
/// </summary>
/// <param name="value">A <see cref="Byte"/> value.</param>
/// <returns>A <see cref="size_t"/> value.</returns>
/// <param name="value">A <see cref="Byte">Byte</see> value.</param>
/// <returns>A <see cref="size_t">size_t</see> value.</returns>
public static implicit operator size_t(byte value)
{
return new size_t(value);
}
/// <summary>
/// Converts a <see cref="SByte"/> value to a <see cref="size_t"/> value.
/// Converts a <see cref="SByte">SByte</see> value to a <see cref="size_t">size_t</see> value.
/// </summary>
/// <param name="value">A <see cref="SByte"/> value.</param>
/// <returns>A <see cref="size_t"/> value.</returns>
/// <param name="value">A <see cref="SByte">SByte</see> value.</param>
/// <returns>A <see cref="size_t">size_t</see> value.</returns>
public static explicit operator size_t(sbyte value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the size_t data type.", value));
@ -53,20 +53,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="UInt16"/> value to a <see cref="size_t"/> value.
/// Converts a <see cref="UInt16">UInt16</see> value to a <see cref="size_t">size_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt16"/> value.</param>
/// <returns>A <see cref="size_t"/> value.</returns>
/// <param name="value">A <see cref="UInt16">UInt16</see> value.</param>
/// <returns>A <see cref="size_t">size_t</see> value.</returns>
public static implicit operator size_t(ushort value)
{
return new size_t(value);
}
/// <summary>
/// Converts an <see cref="Int16"/> value to a <see cref="size_t"/> value.
/// Converts an <see cref="Int16">Int16</see> value to a <see cref="size_t">size_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int16"/> value.</param>
/// <returns>A <see cref="size_t"/> value.</returns>
/// <param name="value">An <see cref="Int16">Int16</see> value.</param>
/// <returns>A <see cref="size_t">size_t</see> value.</returns>
public static explicit operator size_t(short value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the size_t data type.", value));
@ -74,20 +74,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="UInt32"/> value to a <see cref="size_t"/> value.
/// Converts a <see cref="UInt32">UInt32</see> value to a <see cref="size_t">size_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt32"/> value.</param>
/// <returns>A <see cref="size_t"/> value.</returns>
/// <param name="value">A <see cref="UInt32">UInt32</see> value.</param>
/// <returns>A <see cref="size_t">size_t</see> value.</returns>
public static implicit operator size_t(uint value)
{
return new size_t(value);
}
/// <summary>
/// Converts an <see cref="Int32"/> value to a <see cref="size_t"/> value.
/// Converts an <see cref="Int32">Int32</see> value to a <see cref="size_t">size_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int32"/> value.</param>
/// <returns>A <see cref="size_t"/> value.</returns>
/// <param name="value">An <see cref="Int32">Int32</see> value.</param>
/// <returns>A <see cref="size_t">size_t</see> value.</returns>
public static explicit operator size_t(int value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the size_t data type.", value));
@ -95,20 +95,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="UInt64"/> value to a <see cref="size_t"/> value.
/// Converts a <see cref="UInt64">UInt64</see> value to a <see cref="size_t">size_t</see> value.
/// </summary>
/// <param name="value">A <see cref="UInt64"/> value.</param>
/// <returns>A <see cref="size_t"/> value.</returns>
/// <param name="value">A <see cref="UInt64">UInt64</see> value.</param>
/// <returns>A <see cref="size_t">size_t</see> value.</returns>
public static implicit operator size_t(ulong value)
{
return new size_t(value);
}
/// <summary>
/// Converts an <see cref="Int64"/> value to a <see cref="size_t"/> value.
/// Converts an <see cref="Int64">Int64</see> value to a <see cref="size_t">size_t</see> value.
/// </summary>
/// <param name="value">An <see cref="Int64"/> value.</param>
/// <returns>A <see cref="size_t"/> value.</returns>
/// <param name="value">An <see cref="Int64">Int64</see> value.</param>
/// <returns>A <see cref="size_t">size_t</see> value.</returns>
public static explicit operator size_t(long value)
{
if (value < 0) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the size_t data type.", value));
@ -116,10 +116,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="size_t"/> value to a <see cref="Byte"/> value.
/// Converts a <see cref="size_t">size_t</see> value to a <see cref="Byte">Byte</see> value.
/// </summary>
/// <param name="value">An <see cref="size_t"/> value.</param>
/// <returns>A <see cref="Byte"/> value.</returns>
/// <param name="value">An <see cref="size_t">size_t</see> value.</param>
/// <returns>A <see cref="Byte">Byte</see> value.</returns>
public static explicit operator byte(size_t value)
{
if (value.Value > byte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Byte data type.", value));
@ -127,10 +127,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="size_t"/> value to an <see cref="SByte"/> value.
/// Converts a <see cref="size_t">size_t</see> value to an <see cref="SByte">SByte</see> value.
/// </summary>
/// <param name="value">An <see cref="size_t"/> value.</param>
/// <returns>An <see cref="SByte"/> value.</returns>
/// <param name="value">An <see cref="size_t">size_t</see> value.</param>
/// <returns>An <see cref="SByte">SByte</see> value.</returns>
public static explicit operator sbyte(size_t value)
{
if (value.Value > (ulong)sbyte.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the SByte data type.", value));
@ -138,10 +138,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="size_t"/> value to a <see cref="UInt16"/> value.
/// Converts a <see cref="size_t">size_t</see> value to a <see cref="UInt16">UInt16</see> value.
/// </summary>
/// <param name="value">An <see cref="size_t"/> value.</param>
/// <returns>A <see cref="UInt16"/> value.</returns>
/// <param name="value">An <see cref="size_t">size_t</see> value.</param>
/// <returns>A <see cref="UInt16">UInt16</see> value.</returns>
public static explicit operator ushort(size_t value)
{
if (value.Value > ushort.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt16 data type.", value));
@ -149,10 +149,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="size_t"/> value to an <see cref="Int16"/> value.
/// Converts a <see cref="size_t">size_t</see> value to an <see cref="Int16">Int16</see> value.
/// </summary>
/// <param name="value">An <see cref="size_t"/> value.</param>
/// <returns>An <see cref="Int16"/> value.</returns>
/// <param name="value">An <see cref="size_t">size_t</see> value.</param>
/// <returns>An <see cref="Int16">Int16</see> value.</returns>
public static explicit operator short(size_t value)
{
if (value.Value > (ulong)short.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int16 data type.", value));
@ -160,10 +160,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="size_t"/> value to a <see cref="UInt32"/> value.
/// Converts a <see cref="size_t">size_t</see> value to a <see cref="UInt32">UInt32</see> value.
/// </summary>
/// <param name="value">An <see cref="size_t"/> value.</param>
/// <returns>A <see cref="UInt32"/> value.</returns>
/// <param name="value">An <see cref="size_t">size_t</see> value.</param>
/// <returns>A <see cref="UInt32">UInt32</see> value.</returns>
public static explicit operator uint(size_t value)
{
if (value.Value > uint.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the UInt32 data type.", value));
@ -171,10 +171,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="size_t"/> value to an <see cref="Int32"/> value.
/// Converts a <see cref="size_t">size_t</see> value to an <see cref="Int32">Int32</see> value.
/// </summary>
/// <param name="value">An <see cref="size_t"/> value.</param>
/// <returns>An <see cref="Int32"/> value.</returns>
/// <param name="value">An <see cref="size_t">size_t</see> value.</param>
/// <returns>An <see cref="Int32">Int32</see> value.</returns>
public static explicit operator int(size_t value)
{
if (value.Value > int.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int32 data type.", value));
@ -182,20 +182,20 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Converts a <see cref="size_t"/> value to a <see cref="UInt64"/> value.
/// Converts a <see cref="size_t">size_t</see> value to a <see cref="UInt64">UInt64</see> value.
/// </summary>
/// <param name="value">An <see cref="size_t"/> value.</param>
/// <returns>A <see cref="UInt64"/> value.</returns>
/// <param name="value">An <see cref="size_t">size_t</see> value.</param>
/// <returns>A <see cref="UInt64">UInt64</see> value.</returns>
public static implicit operator ulong(size_t value)
{
return value.Value;
}
/// <summary>
/// Converts a <see cref="size_t"/> value to an <see cref="Int64"/> value.
/// Converts a <see cref="size_t">size_t</see> value to an <see cref="Int64">Int64</see> value.
/// </summary>
/// <param name="value">An <see cref="size_t"/> value.</param>
/// <returns>An <see cref="Int64"/> value.</returns>
/// <param name="value">An <see cref="size_t">size_t</see> value.</param>
/// <returns>An <see cref="Int64">Int64</see> value.</returns>
public static explicit operator long(size_t value)
{
if (value.Value > long.MaxValue) throw new System.OverflowException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "'{0}' is out of range of the Int64 data type.", value));
@ -203,9 +203,9 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Gets the string representation of the <see cref="size_t"/>.
/// Gets the string representation of the <see cref="size_t">size_t</see>.
/// </summary>
/// <returns>The string representation of the <see cref="size_t"/>.</returns>
/// <returns>The string representation of the <see cref="size_t">size_t</see>.</returns>
public override string ToString()
{
return Value.ToString(System.Globalization.CultureInfo.InvariantCulture);
@ -215,7 +215,7 @@ namespace Math.Gmp.Native
/// Returns a value indicating whether this instance is equal to a specified object.
/// </summary>
/// <param name="obj">An object to compare with this instance.</param>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="size_t"/> and equals the value of this instance; otherwise, <c>False</c>.</returns>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="size_t">size_t</see> and equals the value of this instance; otherwise, <c>False</c>.</returns>
public override bool Equals(object obj)
{
if (!(obj is size_t))
@ -225,9 +225,9 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Returns a value indicating whether this instance is equal to a specified <see cref="size_t"/> value.
/// Returns a value indicating whether this instance is equal to a specified <see cref="size_t">size_t</see> value.
/// </summary>
/// <param name="other">A <see cref="size_t"/> value to compare to this instance.</param>
/// <param name="other">A <see cref="size_t">size_t</see> value to compare to this instance.</param>
/// <returns><c>True</c> if <paramref name="other"/> has the same value as this instance; otherwise, <c>False</c>.</returns>
public bool Equals(size_t other)
{
@ -246,8 +246,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are equal.
/// </summary>
/// <param name="value1">A <see cref="size_t"/> value.</param>
/// <param name="value2">A <see cref="size_t"/> value.</param>
/// <param name="value1">A <see cref="size_t">size_t</see> value.</param>
/// <param name="value2">A <see cref="size_t">size_t</see> value.</param>
/// <returns><c>True</c> if the two values are equal, and <c>False</c> otherwise.</returns>
public static bool operator ==(size_t value1, size_t value2)
{
@ -257,8 +257,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are different.
/// </summary>
/// <param name="value1">A <see cref="size_t"/> value.</param>
/// <param name="value2">A <see cref="size_t"/> value.</param>
/// <param name="value1">A <see cref="size_t">size_t</see> value.</param>
/// <param name="value2">A <see cref="size_t">size_t</see> value.</param>
/// <returns><c>True</c> if the two values are different, and <c>False</c> otherwise.</returns>
public static bool operator !=(size_t value1, size_t value2)
{

View File

@ -15,7 +15,7 @@ namespace Math.Gmp.Native
private IntPtr _pointer;
/// <summary>
/// Creates new <see cref="void_ptr"/> from an exidting pointer to unmanaged memory.
/// Creates new <see cref="void_ptr">void_ptr</see> from an exidting pointer to unmanaged memory.
/// </summary>
/// <param name="pointer">Pointer to unmanaged memory.</param>
public void_ptr(IntPtr pointer)
@ -24,10 +24,10 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Gets a <see cref="void_ptr"/> from a pointer to a block of unmanaged memory.
/// Gets a <see cref="void_ptr">void_ptr</see> from a pointer to a block of unmanaged memory.
/// </summary>
/// <param name="value">A pointer to a block of unmanaged memory.</param>
/// <returns>A <see cref="void_ptr"/> from a pointer to a block of unmanaged memory.</returns>
/// <returns>A <see cref="void_ptr">void_ptr</see> from a pointer to a block of unmanaged memory.</returns>
public void_ptr FromIntPtr(IntPtr value)
{
_pointer = value;
@ -44,7 +44,7 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Gets a null <see cref="void_ptr"/>.
/// Gets a null <see cref="void_ptr">void_ptr</see>.
/// </summary>
public static readonly void_ptr Zero = new void_ptr(IntPtr.Zero);
@ -52,7 +52,7 @@ namespace Math.Gmp.Native
/// Returns a value indicating whether this instance is equal to a specified object.
/// </summary>
/// <param name="obj">An object to compare with this instance.</param>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="void_ptr"/> and equals the value of this instance; otherwise, <c>False</c>.</returns>
/// <returns><c>True</c> if <paramref name="obj"/> is an instance of <see cref="void_ptr">void_ptr</see> and equals the value of this instance; otherwise, <c>False</c>.</returns>
public override bool Equals(object obj)
{
if (!(obj is void_ptr))
@ -62,9 +62,9 @@ namespace Math.Gmp.Native
}
/// <summary>
/// Returns a value indicating whether this instance is equal to a specified <see cref="void_ptr"/> value.
/// Returns a value indicating whether this instance is equal to a specified <see cref="void_ptr">void_ptr</see> value.
/// </summary>
/// <param name="other">A <see cref="void_ptr"/> value to compare to this instance.</param>
/// <param name="other">A <see cref="void_ptr">void_ptr</see> value to compare to this instance.</param>
/// <returns><c>True</c> if <paramref name="other"/> has the same value as this instance; otherwise, <c>False</c>.</returns>
public bool Equals(void_ptr other)
{
@ -83,8 +83,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are equal.
/// </summary>
/// <param name="value1">A <see cref="void_ptr"/> value.</param>
/// <param name="value2">A <see cref="void_ptr"/> value.</param>
/// <param name="value1">A <see cref="void_ptr">void_ptr</see> value.</param>
/// <param name="value2">A <see cref="void_ptr">void_ptr</see> value.</param>
/// <returns><c>True</c> if the two values are equal, and <c>False</c> otherwise.</returns>
public static bool operator ==(void_ptr value1, void_ptr value2)
{
@ -94,8 +94,8 @@ namespace Math.Gmp.Native
/// <summary>
/// Gets a value that indicates whether the two argument values are different.
/// </summary>
/// <param name="value1">A <see cref="void_ptr"/> value.</param>
/// <param name="value2">A <see cref="void_ptr"/> value.</param>
/// <param name="value1">A <see cref="void_ptr">void_ptr</see> value.</param>
/// <param name="value2">A <see cref="void_ptr">void_ptr</see> value.</param>
/// <returns><c>True</c> if the two values are different, and <c>False</c> otherwise.</returns>
public static bool operator !=(void_ptr value1, void_ptr value2)
{

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Math.Gmp.Native.NET</id>
<version>1.6.5</version>
<version>2.0.0-pre14</version>
<title>GMP Native Interface for .NET</title>
<authors>Robert Baron (Machine Cognitis)</authors>
<owners>Robert Baron (Machine Cognitis)</owners>
@ -13,29 +13,30 @@
Documentation with sample usage is given at the Project URL. GNU MP is at https://gmplib.org/.
Supported Platform: .NET Framework 2.0+</description>
Supported Platform: .NET Framework 4.0+</description>
<summary>GMP Native Interface for .NET</summary>
<releaseNotes>Initial release for GNU MP v6.1.2.</releaseNotes>
<releaseNotes>Updated release for GNU MP v6.1.2. Improved and fixed some of the documentation. Exposed types and members needed by the "parent" project Math.Mpfr.Native (https://github.com/MachineCognitis/Math.Mpfr.Native).</releaseNotes>
<copyright>Copyright (c) 2017 Robert Baron, Machine Cognitis</copyright>
<tags>GNU MP GMP multi-precision arithmetic integer float rational bigint biginteger bigfloat bignum</tags>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework2.0" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.0" />
</frameworkAssemblies>
<references>
<reference file="Math.Gmp.Native.dll" />
</references>
<dependencies>
<dependency id="Baseclass.Contrib.Nuget.Output" version="2.4.0" />
</dependencies> </metadata>
<dependency id="Baseclass.Contrib.Nuget.Output" version="2.4.1" />
</dependencies>
</metadata>
<files>
<file src="..\Math.Gmp.Native\bin\Release\Math.Gmp.Native.dll" target="lib\net20\Math.Gmp.Native.dll" />
<file src="..\Math.Gmp.Native\bin\Release\Math.Gmp.Native.pdb" target="lib\net20\Math.Gmp.Native.pdb" />
<file src="..\Math.Gmp.Native\bin\Release\Math.Gmp.Native.xml" target="lib\net20\Math.Gmp.Native.xml" />
<file src="..\Math.Gmp.Native\bin\Release\GMP_COPYING" target="output\x86\GMP_COPYING" />
<file src="..\Math.Gmp.Native\bin\Release\GMP_README" target="output\x86\GMP_README" />
<file src="..\Math.Gmp.Native\bin\Release\GMP_COPYING" target="output\x64\GMP_COPYING" />
<file src="..\Math.Gmp.Native\bin\Release\GMP_README" target="output\x64\GMP_README" />
<file src="..\Math.Gmp.Native\bin\Release\Math.Gmp.Native.dll" target="lib\net40\Math.Gmp.Native.dll" />
<file src="..\Math.Gmp.Native\bin\Release\Math.Gmp.Native.pdb" target="lib\net40\Math.Gmp.Native.pdb" />
<file src="..\Math.Gmp.Native\bin\Release\Math.Gmp.Native.xml" target="lib\net40\Math.Gmp.Native.xml" />
<file src="..\Math.Gmp.Native\bin\Release\x86\GMP_COPYING" target="output\x86\GMP_COPYING" />
<file src="..\Math.Gmp.Native\bin\Release\x86\GMP_README" target="output\x86\GMP_README" />
<file src="..\Math.Gmp.Native\bin\Release\x86\libgmp-10.dll" target="output\x86\libgmp-10.dll" />
<file src="..\Math.Gmp.Native\bin\Release\x64\GMP_COPYING" target="output\x64\GMP_COPYING" />
<file src="..\Math.Gmp.Native\bin\Release\x64\GMP_README" target="output\x64\GMP_README" />
<file src="..\Math.Gmp.Native\bin\Release\x64\libgmp-10.dll" target="output\x64\libgmp-10.dll" />
</files>
</package>

Binary file not shown.

View File

@ -2,15 +2,15 @@
<HelpTOC>
<HelpTOCNode Title="Welcome to the GMP Native Interface for .NET Library" Url="html/846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" />
<HelpTOCNode Id="b573007f-a602-47aa-886e-380876c2f31f" Title="Math.Gmp.Native" Url="html/d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">
<HelpTOCNode Id="01c11d7e-0666-4076-a8ef-ef8971a1321b" Title="Math.Gmp.Native" Url="html/d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">
<HelpTOCNode Title="allocate_function Delegate" Url="html/dfe3609d-cc50-e357-4254-e3a8e2847f07.htm" />
<HelpTOCNode Id="51c43da4-b204-4f69-8b0f-cbd83df8bfbb" Title="char_ptr Structure" Url="html/06249483-9daf-95f9-32c7-30195550bbcc.htm">
<HelpTOCNode Id="a690cea8-2c7e-4514-a7dd-ea0b9d096b96" Title="char_ptr Constructor " Url="html/9006f054-e796-6460-45df-47d6ab808697.htm">
<HelpTOCNode Id="f746e7b0-0036-474b-85c5-aa0f6a4f86d8" Title="char_ptr Structure" Url="html/06249483-9daf-95f9-32c7-30195550bbcc.htm">
<HelpTOCNode Id="7613e9eb-8a12-476e-a2e9-4cffdfb6f465" Title="char_ptr Constructor " Url="html/9006f054-e796-6460-45df-47d6ab808697.htm">
<HelpTOCNode Title="char_ptr Constructor (IntPtr)" Url="html/dacdc449-bc14-8224-58ec-2837db13ad15.htm" />
<HelpTOCNode Title="char_ptr Constructor (String)" Url="html/255d9de2-3cf6-50f3-3276-a4332896da07.htm" />
</HelpTOCNode>
<HelpTOCNode Id="f0ba5447-2321-4d6d-9373-2aabbc013ab9" Title="char_ptr Methods" Url="html/73876566-4eec-b421-e4d6-3593e9641f0a.htm">
<HelpTOCNode Id="23ea9a92-e709-40f7-a7b1-b36557db8e1d" Title="Equals Method " Url="html/2d2c429f-5828-694d-2ad7-9d13e5c412b3.htm">
<HelpTOCNode Id="72594cd0-2a3b-4187-aba2-f585bbce3f46" Title="char_ptr Methods" Url="html/73876566-4eec-b421-e4d6-3593e9641f0a.htm">
<HelpTOCNode Id="0c5354f7-4b4d-4730-ad52-51011b35b50e" Title="Equals Method " Url="html/2d2c429f-5828-694d-2ad7-9d13e5c412b3.htm">
<HelpTOCNode Title="Equals Method (Object)" Url="html/77d1beb2-2aed-58e8-dc50-bba2ff56afee.htm" />
<HelpTOCNode Title="Equals Method (char_ptr)" Url="html/b1eefed1-412c-fcb1-29ff-34094bc8d57e.htm" />
</HelpTOCNode>
@ -18,40 +18,40 @@
<HelpTOCNode Title="ToIntPtr Method " Url="html/42a15292-978c-35c6-bfa3-9d5acf725ca7.htm" />
<HelpTOCNode Title="ToString Method " Url="html/1eedfa7e-7135-6b5d-e395-9a6b90fab236.htm" />
</HelpTOCNode>
<HelpTOCNode Id="05e555c8-c6d7-4ab3-ae07-97c33fec4753" Title="char_ptr Operators" Url="html/84b523e8-bc53-01e9-49af-f7996af73647.htm">
<HelpTOCNode Id="d7ffd718-2fd0-42c5-83d0-0a965653bc4d" Title="char_ptr Operators" Url="html/84b523e8-bc53-01e9-49af-f7996af73647.htm">
<HelpTOCNode Title="Equality Operator " Url="html/a4f47fa4-8285-638d-c094-bc9e249a49a0.htm" />
<HelpTOCNode Title="Inequality Operator " Url="html/f090e7f3-7440-c789-5594-e5512076a61a.htm" />
</HelpTOCNode>
<HelpTOCNode Id="33bb3fbb-481e-4e93-8452-ad6cff434e84" Title="char_ptr Fields" Url="html/b32f2955-fb82-d5d4-3b3d-7dcd95a5d305.htm">
<HelpTOCNode Id="7ec1a4cc-256c-4f43-a401-57779b779bd8" Title="char_ptr Fields" Url="html/b32f2955-fb82-d5d4-3b3d-7dcd95a5d305.htm">
<HelpTOCNode Title="Pointer Field" Url="html/cfa68b4c-3d5d-c5b1-1ef1-ab054ef87097.htm" />
<HelpTOCNode Title="Zero Field" Url="html/76481715-8a8b-e739-905c-f0d83de503ab.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="c2d715d5-6b31-4219-8349-f01aa1823538" Title="FILE Structure" Url="html/1bcc07bd-8fee-1107-844c-a5ff10e7660c.htm">
<HelpTOCNode Id="ea573eca-8395-4cb3-aec7-1398028d37c7" Title="FILE Methods" Url="html/00586c66-53ac-3fe3-16a4-3ceb2f94620b.htm">
<HelpTOCNode Id="5bb8b379-0a1b-4db1-bb2d-e9d5cda140c1" Title="Equals Method " Url="html/4e0b1b66-de5f-3451-d835-df0116b8c789.htm">
<HelpTOCNode Id="4edb70ff-a908-40ad-aa0f-d6ec13ac5a9d" Title="FILE Structure" Url="html/1bcc07bd-8fee-1107-844c-a5ff10e7660c.htm">
<HelpTOCNode Id="df685871-2231-4488-8694-baf04bc1cbda" Title="FILE Methods" Url="html/00586c66-53ac-3fe3-16a4-3ceb2f94620b.htm">
<HelpTOCNode Id="285e4326-3e81-4ed6-96c2-fef4a995a69a" Title="Equals Method " Url="html/4e0b1b66-de5f-3451-d835-df0116b8c789.htm">
<HelpTOCNode Title="Equals Method (Object)" Url="html/c35318b5-343e-5f6f-2a46-89cb3019121c.htm" />
<HelpTOCNode Title="Equals Method (FILE)" Url="html/a964376d-5264-550c-0dc6-5ce21c48ac93.htm" />
</HelpTOCNode>
<HelpTOCNode Title="GetHashCode Method " Url="html/b6911fef-883d-ec11-c2ad-1ff1ff565601.htm" />
</HelpTOCNode>
<HelpTOCNode Id="4e903220-9113-472e-8326-d76605305402" Title="FILE Operators" Url="html/4fe7aa66-0d05-7853-360a-72c4b55b69bd.htm">
<HelpTOCNode Id="ebcbc48a-f6db-46c1-8cf0-8e70f37ffd64" Title="FILE Operators" Url="html/4fe7aa66-0d05-7853-360a-72c4b55b69bd.htm">
<HelpTOCNode Title="Equality Operator " Url="html/cdb5f955-23ce-e22d-5090-d137153e866f.htm" />
<HelpTOCNode Title="Inequality Operator " Url="html/77413435-917b-2cdc-cfde-d0891b6ede82.htm" />
</HelpTOCNode>
<HelpTOCNode Id="a8201087-eb67-443e-b275-f1c11cf8edce" Title="FILE Fields" Url="html/76b37dae-ecff-2bd9-2e80-002354a7dddc.htm">
<HelpTOCNode Id="bff2c3c4-fe28-4d2c-92e6-18a943614b64" Title="FILE Fields" Url="html/76b37dae-ecff-2bd9-2e80-002354a7dddc.htm">
<HelpTOCNode Title="Value Field" Url="html/fb70a49d-b7b0-b8fc-83f5-0864f381cc76.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Title="free_function Delegate" Url="html/2c9876e2-a0f5-14c6-5069-1a9d50b89185.htm" />
<HelpTOCNode Id="1bc64a4d-72e9-4ef3-b30b-eec7bd4fad14" Title="gmp_lib Class" Url="html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">
<HelpTOCNode Id="5ecea8c9-31f7-4874-925f-609e9a5b480a" Title="gmp_lib Properties" Url="html/4c8c8860-0cde-fd90-76f1-81cd6fb7a125.htm">
<HelpTOCNode Id="22b7ecf6-3339-4c72-92b6-a8da94ef7de6" Title="gmp_lib Class" Url="html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">
<HelpTOCNode Id="95c44a72-3bad-4a5b-8d6e-3cbdeca36911" Title="gmp_lib Properties" Url="html/4c8c8860-0cde-fd90-76f1-81cd6fb7a125.htm">
<HelpTOCNode Title="gmp_errno Property " Url="html/4c3f1727-1891-2918-da3a-321930e883ed.htm" />
</HelpTOCNode>
<HelpTOCNode Id="e03fb564-d109-432f-b943-17a0070ceca2" Title="gmp_lib Methods" Url="html/0fa7cbf3-e8f4-6b14-d829-8aa663e77c74.htm">
<HelpTOCNode Id="b81f0d55-dd42-4f9e-9ee7-81195f688c55" Title="gmp_lib Methods" Url="html/0fa7cbf3-e8f4-6b14-d829-8aa663e77c74.htm">
<HelpTOCNode Title="_mpz_realloc Method " Url="html/c9cb6a67-59b8-5c03-f31d-f252441c53f6.htm" />
<HelpTOCNode Title="allocate Method " Url="html/2c68671c-cd5c-e2ec-52a2-65b0ca31c3d1.htm" />
<HelpTOCNode Id="ee17cff8-7985-4641-8d80-b3dc8a99a0df" Title="free Method " Url="html/92160da3-b1af-e005-cb05-e3fb4dd524d8.htm">
<HelpTOCNode Id="a803ca8a-5128-4360-a5d1-467f5155a4f1" Title="free Method " Url="html/92160da3-b1af-e005-cb05-e3fb4dd524d8.htm">
<HelpTOCNode Title="free Method (IntPtr)" Url="html/75d98417-7870-2f9c-096b-f60e76cb75e4.htm" />
<HelpTOCNode Title="free Method (char_ptr)" Url="html/d3ad552c-4d46-029e-9eeb-44d8abb800e2.htm" />
<HelpTOCNode Title="free Method (gmp_randstate_t)" Url="html/f46e4103-d4c4-69c2-1363-a4cb17d9cfda.htm" />
@ -113,7 +113,7 @@
<HelpTOCNode Title="mpf_get_default_prec Method " Url="html/1ca4ec7e-b5d1-3b51-8341-5a345990e62d.htm" />
<HelpTOCNode Title="mpf_get_prec Method " Url="html/96c4a09e-3f83-00ab-30d0-78a82764b0ce.htm" />
<HelpTOCNode Title="mpf_get_si Method " Url="html/d948e832-ee71-628a-6a7b-766138afff62.htm" />
<HelpTOCNode Id="c5bee98c-6de8-4125-b7c9-d98001e51207" Title="mpf_get_str Method " Url="html/73766ead-a037-a852-4589-04adc3407e15.htm">
<HelpTOCNode Id="749a6459-c971-4ebf-a5b3-5e32f0ad710e" Title="mpf_get_str Method " Url="html/73766ead-a037-a852-4589-04adc3407e15.htm">
<HelpTOCNode Title="mpf_get_str Method (char_ptr, mp_exp_t, Int32, size_t, mpf_t)" Url="html/9e7b9239-a7a8-4667-f6c7-bfc142d3f429.htm" />
<HelpTOCNode Title="mpf_get_str Method (char_ptr, ptr(mp_exp_t), Int32, size_t, mpf_t)" Url="html/bad56282-fbca-6e3b-03c8-085cff07eed8.htm" />
</HelpTOCNode>
@ -177,7 +177,7 @@
<HelpTOCNode Title="mpn_divrem_1 Method " Url="html/f5c3f25d-1ad5-b3be-fc4b-280a62869912.htm" />
<HelpTOCNode Title="mpn_gcd Method " Url="html/24ecd2d5-422f-e538-fd43-94b749652393.htm" />
<HelpTOCNode Title="mpn_gcd_1 Method " Url="html/64373933-f98b-74b4-c10f-3b1a98c410bc.htm" />
<HelpTOCNode Id="1cf23b77-ba4e-46ae-91b4-a01976f4b3cf" Title="mpn_gcdext Method " Url="html/1d98a5d2-dff5-3fd2-c322-13c56beabb21.htm">
<HelpTOCNode Id="33953f0a-edaa-403b-a72e-4d6af71ef862" Title="mpn_gcdext Method " Url="html/1d98a5d2-dff5-3fd2-c322-13c56beabb21.htm">
<HelpTOCNode Title="mpn_gcdext Method (mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr, mp_size_t)" Url="html/c7536923-2242-a346-3211-02806aebd69f.htm" />
<HelpTOCNode Title="mpn_gcdext Method (mp_ptr, mp_ptr, ptr(mp_size_t), mp_ptr, mp_size_t, mp_ptr, mp_size_t)" Url="html/746d102a-5f3e-6142-b02a-63f3cac385ab.htm" />
</HelpTOCNode>
@ -308,7 +308,7 @@
<HelpTOCNode Title="mpz_divisible_p Method " Url="html/4bafc7fe-d2a8-7cf2-b9b8-c296550b4ef2.htm" />
<HelpTOCNode Title="mpz_divisible_ui_p Method " Url="html/6c026976-a6c9-6f12-6b31-c113166ea236.htm" />
<HelpTOCNode Title="mpz_even_p Method " Url="html/e6012778-c71b-b078-2ef3-9f9db90f1769.htm" />
<HelpTOCNode Id="6a619c5b-21fb-4c5f-836c-e18f054ac798" Title="mpz_export Method " Url="html/5fbffc1a-1ac4-6ca6-e528-abe7f8c96667.htm">
<HelpTOCNode Id="db18121a-dc43-40bc-ac86-161f0c82ff7f" Title="mpz_export Method " Url="html/5fbffc1a-1ac4-6ca6-e528-abe7f8c96667.htm">
<HelpTOCNode Title="mpz_export Method (void_ptr, ptr(size_t), Int32, size_t, Int32, size_t, mpz_t)" Url="html/95c2ec1a-18ef-5081-f614-ccb6047a2b52.htm" />
<HelpTOCNode Title="mpz_export Method (void_ptr, size_t, Int32, size_t, Int32, size_t, mpz_t)" Url="html/c9d371c8-8c16-77a3-2c47-8edae05276c5.htm" />
</HelpTOCNode>
@ -436,44 +436,44 @@
<HelpTOCNode Title="reallocate Method " Url="html/067f64f9-7014-8c6a-3c02-153c1460a1dd.htm" />
<HelpTOCNode Title="ZeroMemory Method " Url="html/e3d53be6-a0ad-fb21-5381-ff688f5984a6.htm" />
</HelpTOCNode>
<HelpTOCNode Id="37cc708e-97a3-4080-8329-ad698589bd61" Title="gmp_lib Fields" Url="html/b4507d49-5a58-a25b-6ae3-ac7e599caab1.htm">
<HelpTOCNode Id="859dce06-49fd-48e1-aacc-982be045b2df" Title="gmp_lib Fields" Url="html/b4507d49-5a58-a25b-6ae3-ac7e599caab1.htm">
<HelpTOCNode Title="gmp_version Field" Url="html/3f1b2832-ff9c-cc4a-3e85-e2ee16acc69b.htm" />
<HelpTOCNode Title="mp_bits_per_limb Field" Url="html/f88c76a8-118a-5cbd-0df1-e30adcacb8ae.htm" />
<HelpTOCNode Title="mp_bytes_per_limb Field" Url="html/47695d57-9a89-48db-97c3-2ed03965d913.htm" />
<HelpTOCNode Title="mp_uint_per_limb Field" Url="html/af9533ce-5e67-245d-1cb3-9efb7772a6c8.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="9d6aa3bf-e7f7-4fe7-a492-9bcd7f54e639" Title="gmp_randstate_t Class" Url="html/f7e5846d-548d-3bf3-74ac-219fde42a041.htm">
<HelpTOCNode Id="e37d6f9b-0bea-498f-ad34-acc086c5cafd" Title="gmp_randstate_t Class" Url="html/f7e5846d-548d-3bf3-74ac-219fde42a041.htm">
<HelpTOCNode Title="gmp_randstate_t Constructor " Url="html/20a4edb9-f361-6367-9965-64b0f7aeddaa.htm" />
<HelpTOCNode Id="5a002d34-b34e-4d62-b090-841023f1d27f" Title="gmp_randstate_t Methods" Url="html/94df18f5-d7f6-b30a-5f00-f168e513840c.htm">
<HelpTOCNode Id="1817c745-02f8-4465-90f2-1fa51a1a28c3" Title="gmp_randstate_t Methods" Url="html/94df18f5-d7f6-b30a-5f00-f168e513840c.htm">
<HelpTOCNode Title="ToIntPtr Method " Url="html/a19b1d7a-9367-0447-a5a6-106e15386cdb.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="c9cc5138-2181-48b9-b93b-c12825052b32" Title="mp_base Class" Url="html/8f3c572b-8133-bccc-b838-9d22e3467898.htm">
<HelpTOCNode Id="e49a9ccd-754b-4ae3-a508-bf949e5302a1" Title="mp_base Class" Url="html/8f3c572b-8133-bccc-b838-9d22e3467898.htm">
<HelpTOCNode Title="mp_base Constructor " Url="html/3e385e89-d6d3-27df-ec51-6580f6bea08b.htm" />
<HelpTOCNode Id="5fa24170-8891-4a94-a855-442e56392dc9" Title="mp_base Properties" Url="html/c65a20b0-ddd8-db62-1d34-19bf1a71ce8c.htm">
<HelpTOCNode Id="87357db0-3207-4b5b-8b2d-84c38ee42580" Title="mp_base Properties" Url="html/c65a20b0-ddd8-db62-1d34-19bf1a71ce8c.htm">
<HelpTOCNode Title="_mp_d Property " Url="html/db55f1a9-cd4c-b7e9-c831-4391c0497ef7.htm" />
<HelpTOCNode Title="_mp_d_intptr Property " Url="html/01baafdb-caf3-5653-428f-0ba9c42c3a9a.htm" />
<HelpTOCNode Title="_mp_size Property " Url="html/178d8d44-2485-2972-fe2f-eb9848059e6f.htm" />
</HelpTOCNode>
<HelpTOCNode Title="mp_base Methods" Url="html/dc319ce0-0560-799e-9187-8445d98b802b.htm" />
<HelpTOCNode Id="098e96f5-b740-4048-a1d6-0880f3fd968e" Title="mp_base Fields" Url="html/0525612d-5a63-106e-2d53-4ad25dd2e3a1.htm">
<HelpTOCNode Id="24ef5f93-89d5-4338-9924-b0c10143338f" Title="mp_base Fields" Url="html/0525612d-5a63-106e-2d53-4ad25dd2e3a1.htm">
<HelpTOCNode Title="Pointer Field" Url="html/8d76a7b0-6917-c5d0-3b4a-de767fd3ddd4.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="e6b42be2-18d7-4536-8ea1-60cb3149a27c" Title="mp_bitcnt_t Structure" Url="html/1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm">
<HelpTOCNode Id="77f887ae-8dfd-46f1-ab53-e5be3b29a605" Title="mp_bitcnt_t Structure" Url="html/1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm">
<HelpTOCNode Title="mp_bitcnt_t Constructor " Url="html/5846cdbc-83b9-0197-aa29-fd226641eb76.htm" />
<HelpTOCNode Id="2219d12a-872f-4d5d-b4e9-a327f1889de6" Title="mp_bitcnt_t Methods" Url="html/0968b601-ff25-497d-c2eb-28487c3d29cf.htm">
<HelpTOCNode Id="54afd5e5-3a37-4423-b6e3-9cafeca3691c" Title="Equals Method " Url="html/cfedc4a1-b264-82a8-cf48-a6416e4afce7.htm">
<HelpTOCNode Id="072dde0e-c718-409d-8c3c-f80bab26a3a5" Title="mp_bitcnt_t Methods" Url="html/0968b601-ff25-497d-c2eb-28487c3d29cf.htm">
<HelpTOCNode Id="003c4f40-a059-4f76-beda-1045268b83b6" Title="Equals Method " Url="html/cfedc4a1-b264-82a8-cf48-a6416e4afce7.htm">
<HelpTOCNode Title="Equals Method (Object)" Url="html/5b4fc57b-2ab5-9b95-6c35-ec9b499a6d59.htm" />
<HelpTOCNode Title="Equals Method (mp_bitcnt_t)" Url="html/306b1c06-9439-c811-b7b9-42777ca691e6.htm" />
</HelpTOCNode>
<HelpTOCNode Title="GetHashCode Method " Url="html/540dc183-f6ab-a0bb-d6ef-a08f5a464b78.htm" />
<HelpTOCNode Title="ToString Method " Url="html/0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34.htm" />
</HelpTOCNode>
<HelpTOCNode Id="45554e12-7455-4737-889d-744d10e5a979" Title="mp_bitcnt_t Operators and Type Conversions" Url="html/bee91f05-75c7-52c6-18ae-eb792710655d.htm">
<HelpTOCNode Id="abd21294-da24-4395-955e-bb16bcfe5475" Title="mp_bitcnt_t Operators and Type Conversions" Url="html/bee91f05-75c7-52c6-18ae-eb792710655d.htm">
<HelpTOCNode Title="Equality Operator " Url="html/c0825a57-1ba5-e1d1-3fa9-9c43008c1ada.htm" />
<HelpTOCNode Id="25f6489a-901b-41eb-b5b6-7e7e0c18f70c" Title="Explicit Conversion Operators" Url="html/a2b35c8b-a71a-2e93-2f3b-cd5f8dcb51b4.htm">
<HelpTOCNode Id="071367a6-6657-4380-94aa-bc6e35fb777c" Title="Explicit Conversion Operators" Url="html/a2b35c8b-a71a-2e93-2f3b-cd5f8dcb51b4.htm">
<HelpTOCNode Title="Explicit Conversion (Int16 to mp_bitcnt_t)" Url="html/29b5075a-d6d3-6fe8-5125-d679317b1022.htm" />
<HelpTOCNode Title="Explicit Conversion (Int32 to mp_bitcnt_t)" Url="html/6ba37de9-82cf-e884-2537-0d8e83b8ffa0.htm" />
<HelpTOCNode Title="Explicit Conversion (Int64 to mp_bitcnt_t)" Url="html/56fbe432-4b26-efff-13e9-242996bfa78d.htm" />
@ -485,7 +485,7 @@
<HelpTOCNode Title="Explicit Conversion (mp_bitcnt_t to Int16)" Url="html/55d30a4b-ca4f-4f4b-208a-026c54586e64.htm" />
<HelpTOCNode Title="Explicit Conversion (mp_bitcnt_t to Int32)" Url="html/ecccb4d7-41db-d565-2551-4c15730c6d2f.htm" />
</HelpTOCNode>
<HelpTOCNode Id="dceaf791-4d2a-4342-87e7-11474d2b78a8" Title="Implicit Conversion Operators" Url="html/72fbcc09-5765-7f60-3897-57fec21cc9f9.htm">
<HelpTOCNode Id="830a7c2d-f89d-4845-a320-b61c09fd8382" Title="Implicit Conversion Operators" Url="html/72fbcc09-5765-7f60-3897-57fec21cc9f9.htm">
<HelpTOCNode Title="Implicit Conversion (Byte to mp_bitcnt_t)" Url="html/906e0eef-6efb-c60b-60d8-4827d7d57bf7.htm" />
<HelpTOCNode Title="Implicit Conversion (UInt16 to mp_bitcnt_t)" Url="html/55809d71-2a62-422c-a7e5-955b2b62fe37.htm" />
<HelpTOCNode Title="Implicit Conversion (UInt32 to mp_bitcnt_t)" Url="html/6280cd97-b728-ab06-89e1-7181e2ab72fe.htm" />
@ -495,23 +495,23 @@
</HelpTOCNode>
<HelpTOCNode Title="Inequality Operator " Url="html/8ae70a65-d9d6-0c44-b148-82f39dc474ab.htm" />
</HelpTOCNode>
<HelpTOCNode Id="26d8ef68-1dda-4a43-a96e-8d245f2176b1" Title="mp_bitcnt_t Fields" Url="html/376be8f2-7fe0-c6c4-e08d-7883d4d19594.htm">
<HelpTOCNode Id="f2218ad3-cb9f-4ae6-a21f-8b13e4b4b2b9" Title="mp_bitcnt_t Fields" Url="html/376be8f2-7fe0-c6c4-e08d-7883d4d19594.htm">
<HelpTOCNode Title="Value Field" Url="html/3ae51295-d9e7-e4e5-a660-07940dcfcfde.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="89c6b24f-4f1c-4e85-81c1-b4bbd866eb26" Title="mp_exp_t Structure" Url="html/e6a17880-791f-37d4-4942-cf26ce7d4cbf.htm">
<HelpTOCNode Id="0d1d162f-49fe-403e-afb5-ca904e185c71" Title="mp_exp_t Structure" Url="html/e6a17880-791f-37d4-4942-cf26ce7d4cbf.htm">
<HelpTOCNode Title="mp_exp_t Constructor " Url="html/d4cd9f0b-9f54-1f1d-6a27-a0ce3122249c.htm" />
<HelpTOCNode Id="f32e7213-691e-446b-aaae-56686ca51684" Title="mp_exp_t Methods" Url="html/8968de81-b069-4c5d-e694-8aad8a2c3cdb.htm">
<HelpTOCNode Id="35e07b88-0d0a-4acc-93bf-64c86e4b85e7" Title="Equals Method " Url="html/5a3c38b8-5205-bc81-58e8-60b155c0579c.htm">
<HelpTOCNode Id="27d2fe51-870c-45c1-a4b4-fc4e8ecb0eff" Title="mp_exp_t Methods" Url="html/8968de81-b069-4c5d-e694-8aad8a2c3cdb.htm">
<HelpTOCNode Id="70c12c79-59dc-4326-b936-83a558a4ee30" Title="Equals Method " Url="html/5a3c38b8-5205-bc81-58e8-60b155c0579c.htm">
<HelpTOCNode Title="Equals Method (Object)" Url="html/b91d6398-e5f7-0ee9-e982-4ec2e009d0bc.htm" />
<HelpTOCNode Title="Equals Method (mp_exp_t)" Url="html/c349463b-04b6-167b-b8f7-9f117789577d.htm" />
</HelpTOCNode>
<HelpTOCNode Title="GetHashCode Method " Url="html/1443760d-18a5-f276-ec75-7b8ead9d8332.htm" />
<HelpTOCNode Title="ToString Method " Url="html/cd071eb3-c175-836d-c47a-f9c007b8738d.htm" />
</HelpTOCNode>
<HelpTOCNode Id="17d68382-b986-4988-a95d-abf2183e8e33" Title="mp_exp_t Operators and Type Conversions" Url="html/d0d07662-13f1-e033-9619-1c9f89c37939.htm">
<HelpTOCNode Id="02a3f99e-9c7e-480f-b207-1c2158183a03" Title="mp_exp_t Operators and Type Conversions" Url="html/d0d07662-13f1-e033-9619-1c9f89c37939.htm">
<HelpTOCNode Title="Equality Operator " Url="html/4a543b73-f62d-cf04-fa49-22bc93e657e7.htm" />
<HelpTOCNode Id="a0e30a43-5ed8-4214-8907-d7aa88be79ea" Title="Explicit Conversion Operators" Url="html/021c96a1-51fa-2b2a-4c65-7ae3bb374c33.htm">
<HelpTOCNode Id="83c24a72-f6d5-4eac-a36f-b56ad906efed" Title="Explicit Conversion Operators" Url="html/021c96a1-51fa-2b2a-4c65-7ae3bb374c33.htm">
<HelpTOCNode Title="Explicit Conversion (Int64 to mp_exp_t)" Url="html/70eabcfd-22ae-e08e-1bc5-54f8e1ccb736.htm" />
<HelpTOCNode Title="Explicit Conversion (UInt32 to mp_exp_t)" Url="html/78fdf4c2-15a1-fdab-23fa-806cdf3dc983.htm" />
<HelpTOCNode Title="Explicit Conversion (UInt64 to mp_exp_t)" Url="html/6b879622-df00-c9b2-deba-307574416ff2.htm" />
@ -522,7 +522,7 @@
<HelpTOCNode Title="Explicit Conversion (mp_exp_t to UInt32)" Url="html/6b71bf90-ded3-6f2b-f59b-19b7e3442ef4.htm" />
<HelpTOCNode Title="Explicit Conversion (mp_exp_t to UInt64)" Url="html/bb3fdf5b-8b0e-e922-a1bd-cd337a89f971.htm" />
</HelpTOCNode>
<HelpTOCNode Id="b0e03607-6fd5-4838-a9e6-df459728ea88" Title="Implicit Conversion Operators" Url="html/c7574415-f402-d74d-8dfc-c4ec2f893a5f.htm">
<HelpTOCNode Id="7a977610-3509-4c68-96c8-786fd7e90f6c" Title="Implicit Conversion Operators" Url="html/c7574415-f402-d74d-8dfc-c4ec2f893a5f.htm">
<HelpTOCNode Title="Implicit Conversion (Byte to mp_exp_t)" Url="html/fa401922-089c-d6e0-8ef7-e9013676e9e5.htm" />
<HelpTOCNode Title="Implicit Conversion (Int16 to mp_exp_t)" Url="html/835b1c14-21a0-f806-1953-af0ddf068758.htm" />
<HelpTOCNode Title="Implicit Conversion (Int32 to mp_exp_t)" Url="html/82a3fa70-9dcd-a931-eb3e-18095e458891.htm" />
@ -533,23 +533,23 @@
</HelpTOCNode>
<HelpTOCNode Title="Inequality Operator " Url="html/931e55b9-30c1-aa94-c044-0400b5abea60.htm" />
</HelpTOCNode>
<HelpTOCNode Id="1ed00004-e98c-4b66-94a0-689ba9231668" Title="mp_exp_t Fields" Url="html/a423051c-4997-14ad-8e54-e6b961ce6932.htm">
<HelpTOCNode Id="9d39c410-dfde-4a96-bdd7-3464b253d3c6" Title="mp_exp_t Fields" Url="html/a423051c-4997-14ad-8e54-e6b961ce6932.htm">
<HelpTOCNode Title="Value Field" Url="html/40dbbc73-ebfe-df0e-4a28-ef5646a9a25b.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="5df44104-b8f2-43ee-b0b1-e57bd5e7ac43" Title="mp_limb_t Structure" Url="html/bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm">
<HelpTOCNode Id="abd536bd-0c7e-4ca0-a733-cfe04b0172fa" Title="mp_limb_t Structure" Url="html/bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm">
<HelpTOCNode Title="mp_limb_t Constructor " Url="html/89d25f98-71ed-79b0-9b85-7cb9fcbab79d.htm" />
<HelpTOCNode Id="bd22ea19-ea1f-4dfe-b938-204896b93c08" Title="mp_limb_t Methods" Url="html/1e30b810-66a8-52cc-8501-8bdda18bfaa7.htm">
<HelpTOCNode Id="235a3eb0-9933-4586-a234-ccc67b78b6d1" Title="Equals Method " Url="html/f3da8743-4110-ef69-3809-3261d9304977.htm">
<HelpTOCNode Id="1937ae88-1535-4b94-ba00-e39c60cc0f73" Title="mp_limb_t Methods" Url="html/1e30b810-66a8-52cc-8501-8bdda18bfaa7.htm">
<HelpTOCNode Id="7798d2bc-0b5d-46f8-b3c0-8903e4831c3d" Title="Equals Method " Url="html/f3da8743-4110-ef69-3809-3261d9304977.htm">
<HelpTOCNode Title="Equals Method (Object)" Url="html/33b840cd-1b41-ad67-8956-b5811ddc6175.htm" />
<HelpTOCNode Title="Equals Method (mp_limb_t)" Url="html/a1075491-112f-885c-7097-2745d8c251a2.htm" />
</HelpTOCNode>
<HelpTOCNode Title="GetHashCode Method " Url="html/1bd10056-1935-a793-4930-68ebfaf82cd1.htm" />
<HelpTOCNode Title="ToString Method " Url="html/7ae8e775-5b2d-4ce0-c45b-5afd1b66ac62.htm" />
</HelpTOCNode>
<HelpTOCNode Id="915c8fb5-be5a-48a8-9b21-8614a4715d43" Title="mp_limb_t Operators and Type Conversions" Url="html/88234d39-a3da-db4f-71ff-17d0f2e2c7fe.htm">
<HelpTOCNode Id="d745d077-b876-4137-a5ab-a8042af85a10" Title="mp_limb_t Operators and Type Conversions" Url="html/88234d39-a3da-db4f-71ff-17d0f2e2c7fe.htm">
<HelpTOCNode Title="Equality Operator " Url="html/2e8177f2-fc95-380b-ef64-a51cf494c686.htm" />
<HelpTOCNode Id="d6a00c3d-67ef-4b62-a819-4983e37a3d67" Title="Explicit Conversion Operators" Url="html/e2434db6-d7f3-e7d6-2bd7-04e29ba0a7a8.htm">
<HelpTOCNode Id="735be6f6-53c0-49f7-9a30-b72aff3a4c1a" Title="Explicit Conversion Operators" Url="html/e2434db6-d7f3-e7d6-2bd7-04e29ba0a7a8.htm">
<HelpTOCNode Title="Explicit Conversion (Int16 to mp_limb_t)" Url="html/b88446f7-b9cf-5692-d4fe-7b809ef197eb.htm" />
<HelpTOCNode Title="Explicit Conversion (Int32 to mp_limb_t)" Url="html/06428417-fb0b-82c7-4b50-99dfe28c7afb.htm" />
<HelpTOCNode Title="Explicit Conversion (Int64 to mp_limb_t)" Url="html/03a17ed9-19e1-9de3-0ea4-4ff3f63938a6.htm" />
@ -562,7 +562,7 @@
<HelpTOCNode Title="Explicit Conversion (mp_limb_t to Int32)" Url="html/72723d8b-579c-0c0f-d5c8-868ae849457e.htm" />
<HelpTOCNode Title="Explicit Conversion (mp_limb_t to Int64)" Url="html/63e2f5c3-b5bb-ebf6-3bcf-682671a0dbc3.htm" />
</HelpTOCNode>
<HelpTOCNode Id="6bbe0887-a299-47f1-abce-d8648b4edfb8" Title="Implicit Conversion Operators" Url="html/015a8bc4-a8de-d7c7-3aac-2524de5dfd03.htm">
<HelpTOCNode Id="49911a2c-f26b-4924-83a2-cb8e36252be2" Title="Implicit Conversion Operators" Url="html/015a8bc4-a8de-d7c7-3aac-2524de5dfd03.htm">
<HelpTOCNode Title="Implicit Conversion (Byte to mp_limb_t)" Url="html/7dbd9949-90ab-2b31-978d-9fde0a2ba7ee.htm" />
<HelpTOCNode Title="Implicit Conversion (UInt16 to mp_limb_t)" Url="html/4e7a1224-4cf6-269a-82b6-8fdb83429949.htm" />
<HelpTOCNode Title="Implicit Conversion (UInt32 to mp_limb_t)" Url="html/adc5aae1-accd-ed83-fe1b-8910aa034c17.htm" />
@ -571,12 +571,12 @@
</HelpTOCNode>
<HelpTOCNode Title="Inequality Operator " Url="html/be93bccd-2cad-322c-e211-5523de89b567.htm" />
</HelpTOCNode>
<HelpTOCNode Id="ed1173f6-08b4-44cb-9e87-7c6923f0d824" Title="mp_limb_t Fields" Url="html/a1100e83-1a57-f861-4850-83b9bce3ebc2.htm">
<HelpTOCNode Id="a5ce0164-c644-41dc-b113-a101a13e5221" Title="mp_limb_t Fields" Url="html/a1100e83-1a57-f861-4850-83b9bce3ebc2.htm">
<HelpTOCNode Title="Value Field" Url="html/73d48b1a-0a79-41fa-2b80-d1d0bc90ce3d.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="3317d1d7-f1d3-45ce-a490-330b9a1d5fa6" Title="mp_ptr Class" Url="html/4609ac5e-5cf9-cd20-2fa9-8040101c165c.htm">
<HelpTOCNode Id="4a54369b-16a7-43cf-8353-08a036e584c9" Title="mp_ptr Constructor " Url="html/33563f2c-baba-b555-20fb-9def8b70074c.htm">
<HelpTOCNode Id="c8633663-5435-4eeb-93e3-94b1ae65820a" Title="mp_ptr Class" Url="html/4609ac5e-5cf9-cd20-2fa9-8040101c165c.htm">
<HelpTOCNode Id="72734d06-4091-4fd8-bea8-d6424d9fde45" Title="mp_ptr Constructor " Url="html/33563f2c-baba-b555-20fb-9def8b70074c.htm">
<HelpTOCNode Title="mp_ptr Constructor (Byte[])" Url="html/be2f5733-8c21-c6e9-c4be-ca5f0b0ebba9.htm" />
<HelpTOCNode Title="mp_ptr Constructor (UInt16[])" Url="html/54ac0eda-b14f-8083-16dc-6c0abe8a5e5e.htm" />
<HelpTOCNode Title="mp_ptr Constructor (UInt32[])" Url="html/cad424b2-4a92-fda9-45dd-243ef9e5f321.htm" />
@ -584,28 +584,28 @@
<HelpTOCNode Title="mp_ptr Constructor (mp_base)" Url="html/49277bf7-6de2-6182-cb45-008c4cbde670.htm" />
<HelpTOCNode Title="mp_ptr Constructor (mp_size_t)" Url="html/e0c0acc3-41cd-cb7d-68e7-3bf8dc5039d4.htm" />
</HelpTOCNode>
<HelpTOCNode Id="635616f6-22a0-4300-a71f-0b4d96a22753" Title="mp_ptr Properties" Url="html/9b1ae76e-d9d8-e72d-9fa6-fe8e2d833d40.htm">
<HelpTOCNode Id="1dcd181c-789c-4415-ada9-daf3658dc6ae" Title="mp_ptr Properties" Url="html/9b1ae76e-d9d8-e72d-9fa6-fe8e2d833d40.htm">
<HelpTOCNode Title="Item Property " Url="html/a7661bd2-2bcb-01c5-9833-5ab6d6305daf.htm" />
<HelpTOCNode Title="Size Property " Url="html/562de56d-c1a8-5f66-59dc-e2886d89bfc3.htm" />
</HelpTOCNode>
<HelpTOCNode Id="9a75cd67-dcb6-48d6-930d-e0a027756463" Title="mp_ptr Methods" Url="html/f324e472-a709-9f28-6b3c-ffdeda0376bf.htm">
<HelpTOCNode Id="75b39663-2ec6-40ab-8fe4-403afc9118f5" Title="mp_ptr Methods" Url="html/f324e472-a709-9f28-6b3c-ffdeda0376bf.htm">
<HelpTOCNode Title="GetEnumerator Method " Url="html/f9a60366-d1e2-5565-bbc2-63d98d779e27.htm" />
<HelpTOCNode Title="ToIntPtr Method " Url="html/659f2b6c-790b-e9b9-cc61-e8fc8a4bd2c0.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="5e66b6f9-cd34-4509-bd84-496787da5109" Title="mp_size_t Structure" Url="html/4b58a584-7a0e-b600-18fa-ebd493861eb3.htm">
<HelpTOCNode Id="99bad6f3-f0ae-4beb-86c5-4fbe212097df" Title="mp_size_t Structure" Url="html/4b58a584-7a0e-b600-18fa-ebd493861eb3.htm">
<HelpTOCNode Title="mp_size_t Constructor " Url="html/be71a625-32c1-841d-0915-f0771323d00a.htm" />
<HelpTOCNode Id="bd6fa8c0-db22-4492-af89-ae85ab9f96f6" Title="mp_size_t Methods" Url="html/afc0fd4e-39a7-905a-93b9-8bd291904211.htm">
<HelpTOCNode Id="a5fbeb47-a445-4f85-8dc7-8a12739b745c" Title="Equals Method " Url="html/096397d8-2db8-7eeb-3b75-25ed0bad8379.htm">
<HelpTOCNode Id="f605767a-0b60-4264-9877-3e33c178abe3" Title="mp_size_t Methods" Url="html/afc0fd4e-39a7-905a-93b9-8bd291904211.htm">
<HelpTOCNode Id="8cdd6164-f893-4add-8eff-e6d9bcadce8a" Title="Equals Method " Url="html/096397d8-2db8-7eeb-3b75-25ed0bad8379.htm">
<HelpTOCNode Title="Equals Method (Object)" Url="html/764c23ab-f2fe-b3e4-68a4-4a27fb6dc6b0.htm" />
<HelpTOCNode Title="Equals Method (mp_size_t)" Url="html/b93a08cc-4dfe-0c34-c1ac-25344489f2d3.htm" />
</HelpTOCNode>
<HelpTOCNode Title="GetHashCode Method " Url="html/c82e8cd1-5053-7e58-3b57-c20583dcc5e7.htm" />
<HelpTOCNode Title="ToString Method " Url="html/abd28ab6-f7d7-296e-852b-ef28b35a08d8.htm" />
</HelpTOCNode>
<HelpTOCNode Id="cac75e0e-e7b8-4a73-8fec-33bd88e98e9a" Title="mp_size_t Operators and Type Conversions" Url="html/884aef1a-9faa-b787-ff5e-022615bd41eb.htm">
<HelpTOCNode Id="3061fd22-67d4-4fb2-b05b-12cf94f8dec7" Title="mp_size_t Operators and Type Conversions" Url="html/884aef1a-9faa-b787-ff5e-022615bd41eb.htm">
<HelpTOCNode Title="Equality Operator " Url="html/a6d79a12-4568-8617-30a9-e36698ef5994.htm" />
<HelpTOCNode Id="b83887d8-9854-4b44-bc4b-49787da27f60" Title="Explicit Conversion Operators" Url="html/9c49193c-e71d-9d5a-ce64-27446b2d8c1b.htm">
<HelpTOCNode Id="ecd3742d-63ff-4a42-b19a-bf91a202fc98" Title="Explicit Conversion Operators" Url="html/9c49193c-e71d-9d5a-ce64-27446b2d8c1b.htm">
<HelpTOCNode Title="Explicit Conversion (Int64 to mp_size_t)" Url="html/fecd3260-6eb9-5e31-0266-9bb52bf9b038.htm" />
<HelpTOCNode Title="Explicit Conversion (UInt32 to mp_size_t)" Url="html/edf58344-c7ce-6c94-dea2-e07f06eb7987.htm" />
<HelpTOCNode Title="Explicit Conversion (UInt64 to mp_size_t)" Url="html/43436692-e9c9-739f-aa96-be2b775dae62.htm" />
@ -616,7 +616,7 @@
<HelpTOCNode Title="Explicit Conversion (mp_size_t to UInt32)" Url="html/ee84dcdc-769f-5829-0e77-99ea66f0151b.htm" />
<HelpTOCNode Title="Explicit Conversion (mp_size_t to UInt64)" Url="html/969bef9e-e9a3-e671-5378-0767ee7f946b.htm" />
</HelpTOCNode>
<HelpTOCNode Id="195dda06-fe81-4361-a7ab-8b7c9df51b0c" Title="Implicit Conversion Operators" Url="html/13c05087-b2db-4751-d548-4fa64e30f663.htm">
<HelpTOCNode Id="e9fef37f-a89d-4399-bed8-ad5742cf7e85" Title="Implicit Conversion Operators" Url="html/13c05087-b2db-4751-d548-4fa64e30f663.htm">
<HelpTOCNode Title="Implicit Conversion (Byte to mp_size_t)" Url="html/e2817889-195b-d443-500d-2568ebfefe4f.htm" />
<HelpTOCNode Title="Implicit Conversion (Int16 to mp_size_t)" Url="html/8f9e1df5-6eb0-4f14-3a1f-0d40ab45aac6.htm" />
<HelpTOCNode Title="Implicit Conversion (Int32 to mp_size_t)" Url="html/4d1fd187-6b51-f72c-b150-3cc4eb7ead18.htm" />
@ -627,81 +627,81 @@
</HelpTOCNode>
<HelpTOCNode Title="Inequality Operator " Url="html/d7d60484-ecc2-8e26-1dac-de2617ab1867.htm" />
</HelpTOCNode>
<HelpTOCNode Id="40c234bf-6f93-4dd1-a8ca-ae527e53ebce" Title="mp_size_t Fields" Url="html/64df5728-6963-d01f-d17c-21ee6df7c418.htm">
<HelpTOCNode Id="90c1160d-81bc-4750-858e-d5d4fa96b8c4" Title="mp_size_t Fields" Url="html/64df5728-6963-d01f-d17c-21ee6df7c418.htm">
<HelpTOCNode Title="Value Field" Url="html/6860df77-97f9-01e3-007e-2af1985315e9.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="bc27acd1-7d3c-4860-86b5-65d664577ea2" Title="mpf_t Class" Url="html/37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">
<HelpTOCNode Id="25b6ff55-7a60-4320-a7a9-65afe985b814" Title="mpf_t Class" Url="html/37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">
<HelpTOCNode Title="mpf_t Constructor " Url="html/0e0a10d5-52ab-1821-6fe1-97514e009418.htm" />
<HelpTOCNode Id="0c436e2c-001a-4ad2-b3f2-c5b944b0efda" Title="mpf_t Properties" Url="html/44d8440b-0daa-0393-510e-a0ace6d299f7.htm">
<HelpTOCNode Id="310a3a1d-3010-406e-8f9c-39ac797a5513" Title="mpf_t Properties" Url="html/44d8440b-0daa-0393-510e-a0ace6d299f7.htm">
<HelpTOCNode Title="_mp_d_intptr Property " Url="html/39182adf-3ed6-8c68-c2e7-05a9bfcef6ab.htm" />
<HelpTOCNode Title="_mp_exp Property " Url="html/f63ee104-afaa-e0b8-ff39-f60b9a934ea3.htm" />
<HelpTOCNode Title="_mp_prec Property " Url="html/772c3bd8-b9ec-225d-3d98-e17ae89d4294.htm" />
<HelpTOCNode Title="_mp_size Property " Url="html/9aa3bb30-32b3-b465-af05-9b048bb610f1.htm" />
</HelpTOCNode>
<HelpTOCNode Id="b6e6a8b2-74a6-4924-8b24-9999fb19d34e" Title="mpf_t Methods" Url="html/2583789b-09c3-0f9a-fbf9-4d362bd9129a.htm">
<HelpTOCNode Id="579473c4-50ff-43f6-8285-7115a9d795cc" Title="mpf_t Methods" Url="html/2583789b-09c3-0f9a-fbf9-4d362bd9129a.htm">
<HelpTOCNode Title="ToIntPtr Method " Url="html/b77413f7-f862-7996-838a-f510fc3f69ed.htm" />
<HelpTOCNode Title="ToString Method " Url="html/77eccd6b-888f-b3a8-0800-ead4af162af0.htm" />
</HelpTOCNode>
<HelpTOCNode Id="af712c13-eb53-460d-b2a4-488fd4675ef2" Title="mpf_t Type Conversions" Url="html/3ca44c9f-677e-d5fa-5414-399843506633.htm">
<HelpTOCNode Id="2c8e4afd-ca1a-4733-88ac-c375719ccfd7" Title="mpf_t Type Conversions" Url="html/3ca44c9f-677e-d5fa-5414-399843506633.htm">
<HelpTOCNode Title="Implicit Conversion (String to mpf_t)" Url="html/058e477a-0126-b073-ee83-77ed89a58351.htm" />
</HelpTOCNode>
<HelpTOCNode Title="mpf_t Fields" Url="html/373cd52b-c12c-bae1-1a8c-b7627903d709.htm" />
</HelpTOCNode>
<HelpTOCNode Id="8e3f0f43-87d8-4399-bc83-ce6e0b1d98cc" Title="mpq_t Class" Url="html/635f1879-5f85-881e-cca8-3222baf5045a.htm">
<HelpTOCNode Id="af7c9268-4ff7-4ae3-bc52-f3cf16f65a65" Title="mpq_t Class" Url="html/635f1879-5f85-881e-cca8-3222baf5045a.htm">
<HelpTOCNode Title="mpq_t Constructor " Url="html/2c2936bd-f40b-391b-de4c-e5111654993b.htm" />
<HelpTOCNode Id="6b47d69d-1762-4fc1-8d50-9364afff3bc3" Title="mpq_t Properties" Url="html/0e7e8afb-9c1f-87e4-4f01-0575c8203613.htm">
<HelpTOCNode Id="e0fa7aa2-a9b2-4483-adea-a0aa032cc825" Title="mpq_t Properties" Url="html/0e7e8afb-9c1f-87e4-4f01-0575c8203613.htm">
<HelpTOCNode Title="_mp_den Property " Url="html/fb8c2e17-4a22-899c-77af-6d3bef099fc2.htm" />
<HelpTOCNode Title="_mp_num Property " Url="html/3fad7a3a-76d1-7e19-0ab4-c93a4bf3655e.htm" />
</HelpTOCNode>
<HelpTOCNode Id="9251204b-1874-4f80-a033-45aa49833991" Title="mpq_t Methods" Url="html/6871c168-60e1-5bd2-5a03-2d60f473d7b8.htm">
<HelpTOCNode Id="3898d304-755f-4bc0-8888-3aad5bc3b9c3" Title="mpq_t Methods" Url="html/6871c168-60e1-5bd2-5a03-2d60f473d7b8.htm">
<HelpTOCNode Title="ToIntPtr Method " Url="html/ce76ca4d-3aab-d682-1f85-aa95ce7d43a9.htm" />
<HelpTOCNode Title="ToString Method " Url="html/e9fce326-9ff5-0bbc-87d7-53ace305f107.htm" />
</HelpTOCNode>
<HelpTOCNode Id="c78e401a-4ca7-4b05-a62c-9478e7a3961f" Title="mpq_t Type Conversions" Url="html/25bb755c-4475-9382-5601-dd83fda02afe.htm">
<HelpTOCNode Id="e92bc849-429f-48c8-aa70-3f87203021b8" Title="mpq_t Type Conversions" Url="html/25bb755c-4475-9382-5601-dd83fda02afe.htm">
<HelpTOCNode Title="Implicit Conversion (String to mpq_t)" Url="html/5d499247-7cb9-266f-eb4f-78bcf5768aa4.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="18d456c4-86aa-4731-ba74-2bf200665bff" Title="mpz_t Class" Url="html/8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">
<HelpTOCNode Id="5c52c6aa-31fb-4ada-a158-edfab104f05d" Title="mpz_t Class" Url="html/8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">
<HelpTOCNode Title="mpz_t Constructor " Url="html/0fcbb911-bc5a-1b11-90c5-96babff86526.htm" />
<HelpTOCNode Id="19ab3260-a2d4-4d4d-8821-a65c67d91821" Title="mpz_t Properties" Url="html/5f492d5c-72f0-17b4-24a4-e5b58a061ef7.htm">
<HelpTOCNode Id="31ba0203-b2ba-4fbb-820b-2696b893873a" Title="mpz_t Properties" Url="html/5f492d5c-72f0-17b4-24a4-e5b58a061ef7.htm">
<HelpTOCNode Title="_mp_alloc Property " Url="html/93206a07-9ee6-f89b-f029-f0e80982c911.htm" />
<HelpTOCNode Title="_mp_d_intptr Property " Url="html/f91fdfb5-06bb-23e0-45be-934dd1088a1b.htm" />
<HelpTOCNode Title="_mp_size Property " Url="html/15e1db51-a27c-7eee-03dd-5c6457889be1.htm" />
</HelpTOCNode>
<HelpTOCNode Id="d127d9a5-7a23-439a-a3b2-0ab9dc21a5dc" Title="mpz_t Methods" Url="html/430d894e-57e0-6020-0ad7-40b74cbd969f.htm">
<HelpTOCNode Id="a165a594-8e93-414e-892d-ae388d6ca5ad" Title="mpz_t Methods" Url="html/430d894e-57e0-6020-0ad7-40b74cbd969f.htm">
<HelpTOCNode Title="ToIntPtr Method " Url="html/018d9747-3053-df6d-2bb3-5273ad735860.htm" />
<HelpTOCNode Title="ToString Method " Url="html/709eb598-ee38-4031-9dc5-74a73d8f9142.htm" />
</HelpTOCNode>
<HelpTOCNode Id="305cc9e2-29d7-4f87-8afc-0e8185c0dcf0" Title="mpz_t Type Conversions" Url="html/1cc35e31-9ab0-7239-d05b-1e2a426338bc.htm">
<HelpTOCNode Id="0ab632a5-05c7-45bd-aaf1-4e2258b60762" Title="mpz_t Type Conversions" Url="html/1cc35e31-9ab0-7239-d05b-1e2a426338bc.htm">
<HelpTOCNode Title="Implicit Conversion (String to mpz_t)" Url="html/d07ddfe6-a0d0-51e7-180c-481fe678fc38.htm" />
</HelpTOCNode>
<HelpTOCNode Title="mpz_t Fields" Url="html/18a76f9f-3507-5e96-06ac-0167e0359410.htm" />
</HelpTOCNode>
<HelpTOCNode Id="41689a60-64c9-478a-bd59-8c25f51159d6" Title="ptr(T) Class" Url="html/542faa00-d28a-72a2-2dd8-6c6021e683ce.htm">
<HelpTOCNode Id="f37f75a4-7f35-48a2-945d-972718b148f6" Title="ptr(T) Constructor " Url="html/1b117248-4e1d-a985-2ab6-4bd8e5b3e769.htm">
<HelpTOCNode Id="f950ae86-41b6-4923-9fbf-2dde010aa377" Title="ptr(T) Class" Url="html/542faa00-d28a-72a2-2dd8-6c6021e683ce.htm">
<HelpTOCNode Id="cd8d8fa3-df5b-46c8-b343-417a5b89ed5c" Title="ptr(T) Constructor " Url="html/1b117248-4e1d-a985-2ab6-4bd8e5b3e769.htm">
<HelpTOCNode Title="ptr(T) Constructor " Url="html/8e86c547-280b-afb8-98ea-aebfb3ec04b9.htm" />
<HelpTOCNode Title="ptr(T) Constructor (T)" Url="html/b7987d45-5188-14f6-7ac7-bbe14184971b.htm" />
</HelpTOCNode>
<HelpTOCNode Title="ptr(T) Methods" Url="html/b390b506-1cff-5bd4-fcf5-a135127497dc.htm" />
<HelpTOCNode Id="30ccd343-cd77-4438-b9dd-e6d8bf464e9d" Title="ptr(T) Fields" Url="html/50e025ca-c11a-c1db-2233-d11f66776439.htm">
<HelpTOCNode Id="ead5072b-eb56-4b02-a354-54b5d142f88d" Title="ptr(T) Fields" Url="html/50e025ca-c11a-c1db-2233-d11f66776439.htm">
<HelpTOCNode Title="Value Field" Url="html/448dfb4b-f4d7-8db7-3d44-31f3bd032771.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Title="reallocate_function Delegate" Url="html/aa9d21b4-a929-d550-5a65-f9cbcfa7f638.htm" />
<HelpTOCNode Id="94409782-e5e6-4816-bd48-cb0caac26c2a" Title="size_t Structure" Url="html/d9761bfb-1882-59d2-e89b-c6460141f9a6.htm">
<HelpTOCNode Id="3cfa07c4-e6e7-4537-af61-8f3dae888550" Title="size_t Structure" Url="html/d9761bfb-1882-59d2-e89b-c6460141f9a6.htm">
<HelpTOCNode Title="size_t Constructor " Url="html/4a5eee32-b03c-e613-22b1-6b4f54a95362.htm" />
<HelpTOCNode Id="f6bbb79e-c573-4808-a67d-ea1c72c8c43a" Title="size_t Methods" Url="html/0777a4c0-90d5-95bc-1192-f390bfbcbc43.htm">
<HelpTOCNode Id="7981c027-c181-499b-91e3-08bef8b59539" Title="Equals Method " Url="html/255140dc-27a7-cc9d-df9a-dc4d03c9a8e4.htm">
<HelpTOCNode Id="d6c7c8bd-11f5-4f9a-afb9-2510ef3799ef" Title="size_t Methods" Url="html/0777a4c0-90d5-95bc-1192-f390bfbcbc43.htm">
<HelpTOCNode Id="c165a628-5734-4cac-9829-50173d74e4cb" Title="Equals Method " Url="html/255140dc-27a7-cc9d-df9a-dc4d03c9a8e4.htm">
<HelpTOCNode Title="Equals Method (Object)" Url="html/3c3a57f3-ab98-976d-e470-2b8da8c97b53.htm" />
<HelpTOCNode Title="Equals Method (size_t)" Url="html/b08a01e0-6ae7-c9db-4d46-9fdeadaca5ed.htm" />
</HelpTOCNode>
<HelpTOCNode Title="GetHashCode Method " Url="html/6feeab0d-dc91-818f-ef60-2434ff3a1146.htm" />
<HelpTOCNode Title="ToString Method " Url="html/e465d040-0d35-f8c8-51db-c56b3d14b4c8.htm" />
</HelpTOCNode>
<HelpTOCNode Id="81f79fa1-9299-4c00-980d-7778312f8a00" Title="size_t Operators and Type Conversions" Url="html/c27b5f76-606f-b512-9424-8e74cea9f6da.htm">
<HelpTOCNode Id="5eef2662-6f63-4d12-8cd2-669dd753f015" Title="size_t Operators and Type Conversions" Url="html/c27b5f76-606f-b512-9424-8e74cea9f6da.htm">
<HelpTOCNode Title="Equality Operator " Url="html/46b18925-3e4b-f26c-ef9c-ade34e23f518.htm" />
<HelpTOCNode Id="6adc49f9-c499-400c-a8a5-a1d6c203181e" Title="Explicit Conversion Operators" Url="html/1f76425d-66dd-c23e-2032-d6f1f2337813.htm">
<HelpTOCNode Id="aa87c930-b035-4966-a9ce-efd8413a529c" Title="Explicit Conversion Operators" Url="html/1f76425d-66dd-c23e-2032-d6f1f2337813.htm">
<HelpTOCNode Title="Explicit Conversion (Int16 to size_t)" Url="html/8da2a46e-34a6-f8be-270d-32fbf6424d98.htm" />
<HelpTOCNode Title="Explicit Conversion (Int32 to size_t)" Url="html/25c0e500-2d89-f414-530f-a0a53b57766f.htm" />
<HelpTOCNode Title="Explicit Conversion (Int64 to size_t)" Url="html/e9177dc9-2049-a649-3bf2-735ed6927aae.htm" />
@ -714,7 +714,7 @@
<HelpTOCNode Title="Explicit Conversion (size_t to Int32)" Url="html/47fd5e17-2217-5e2f-8d68-440cfcf85179.htm" />
<HelpTOCNode Title="Explicit Conversion (size_t to Int64)" Url="html/fd60a636-df2f-3c60-40c7-b46077830f00.htm" />
</HelpTOCNode>
<HelpTOCNode Id="f1e47060-d54d-4a08-911a-17988a41d770" Title="Implicit Conversion Operators" Url="html/a35ea6b8-48fa-4e62-bdbd-fee74574cac5.htm">
<HelpTOCNode Id="a7311766-d3a5-49c7-91c9-a628144fdd04" Title="Implicit Conversion Operators" Url="html/a35ea6b8-48fa-4e62-bdbd-fee74574cac5.htm">
<HelpTOCNode Title="Implicit Conversion (Byte to size_t)" Url="html/6d0766fc-29bc-75e6-aa00-ed7b80fe586e.htm" />
<HelpTOCNode Title="Implicit Conversion (UInt16 to size_t)" Url="html/18ef1696-938e-0932-1d55-eaced0d92464.htm" />
<HelpTOCNode Title="Implicit Conversion (UInt32 to size_t)" Url="html/e76254b7-0a0e-d726-a1a2-ebc21dab1c96.htm" />
@ -723,21 +723,21 @@
</HelpTOCNode>
<HelpTOCNode Title="Inequality Operator " Url="html/a68386d1-23de-611a-543f-fbd5600f674a.htm" />
</HelpTOCNode>
<HelpTOCNode Id="e9cfb41b-6c4e-44c6-9523-ca60af3b6b8c" Title="size_t Fields" Url="html/23937a87-c622-7fe6-7dfc-89d66a88c1fb.htm">
<HelpTOCNode Id="44b06e35-2ca0-4da4-95ca-918e32595976" Title="size_t Fields" Url="html/23937a87-c622-7fe6-7dfc-89d66a88c1fb.htm">
<HelpTOCNode Title="Value Field" Url="html/b7dbc63c-92d3-28ce-a69a-ed84f6dd720f.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="a5663f9a-e296-4f8f-8a83-c480af034345" Title="va_list Class" Url="html/4f2255b8-b87a-7b1b-286a-abb7293059d7.htm">
<HelpTOCNode Id="a5daeab4-65c7-47ab-b8a4-2645bbf3d568" Title="va_list Class" Url="html/4f2255b8-b87a-7b1b-286a-abb7293059d7.htm">
<HelpTOCNode Title="va_list Constructor " Url="html/ae56ba7a-658c-10a7-c441-f44b82161113.htm" />
<HelpTOCNode Id="a3a76a73-8d84-48e0-b679-88eb1e33cea5" Title="va_list Methods" Url="html/0af0c5f7-045d-d0b0-fe24-f20f44b030dc.htm">
<HelpTOCNode Id="21992f87-9943-4524-b286-1a1d9cee2f27" Title="va_list Methods" Url="html/0af0c5f7-045d-d0b0-fe24-f20f44b030dc.htm">
<HelpTOCNode Title="RetrieveArgumentValues Method " Url="html/ddbcfc40-f5e5-a37b-6a8c-76e08932025a.htm" />
<HelpTOCNode Title="ToIntPtr Method " Url="html/13e99044-0242-c6b6-6a32-e9abb01ceaaa.htm" />
</HelpTOCNode>
</HelpTOCNode>
<HelpTOCNode Id="371d8f1b-1519-49cc-aa3e-a930facc74f1" Title="void_ptr Structure" Url="html/e200d734-044d-4cc7-acc7-2333d7cf3c9a.htm">
<HelpTOCNode Id="1ceb4cc9-0033-439a-895c-267b5040b3c7" Title="void_ptr Structure" Url="html/e200d734-044d-4cc7-acc7-2333d7cf3c9a.htm">
<HelpTOCNode Title="void_ptr Constructor " Url="html/e85d4d94-22d0-5888-54e5-e1e3289dfe90.htm" />
<HelpTOCNode Id="98c8030c-6453-4ad2-9e62-c5b91218505c" Title="void_ptr Methods" Url="html/e267ef2f-54a1-a3f1-441f-0655b542bf55.htm">
<HelpTOCNode Id="b9b3144a-7e34-4aed-acad-a32b3cb7fa15" Title="Equals Method " Url="html/0521b935-27ad-ca39-ed8a-6c4b4fc51116.htm">
<HelpTOCNode Id="91a6f49c-7ca0-4321-ace3-15015bdb8a87" Title="void_ptr Methods" Url="html/e267ef2f-54a1-a3f1-441f-0655b542bf55.htm">
<HelpTOCNode Id="e4b7c5aa-1d89-4c7c-9b33-707e4b797e9b" Title="Equals Method " Url="html/0521b935-27ad-ca39-ed8a-6c4b4fc51116.htm">
<HelpTOCNode Title="Equals Method (Object)" Url="html/0177c7b6-b5d5-3815-b64a-4f3a7686bf6d.htm" />
<HelpTOCNode Title="Equals Method (void_ptr)" Url="html/c39c5883-0cbc-86ee-d3a6-be3a95f8cadc.htm" />
</HelpTOCNode>
@ -745,11 +745,11 @@
<HelpTOCNode Title="GetHashCode Method " Url="html/04ef14d3-d09c-cfcb-0cea-8984c92612f5.htm" />
<HelpTOCNode Title="ToIntPtr Method " Url="html/3e1375c2-3f44-721d-6ef3-32e49a3d7d3b.htm" />
</HelpTOCNode>
<HelpTOCNode Id="bee6af54-5a0f-46aa-afe2-dfe828a96f4d" Title="void_ptr Operators" Url="html/578ac23c-2986-d809-fa1b-c9a111d0c780.htm">
<HelpTOCNode Id="509c9d66-09d4-4266-80f3-7ace27d48f27" Title="void_ptr Operators" Url="html/578ac23c-2986-d809-fa1b-c9a111d0c780.htm">
<HelpTOCNode Title="Equality Operator " Url="html/3d7c5927-d163-5d46-1f0b-5c35ca116b22.htm" />
<HelpTOCNode Title="Inequality Operator " Url="html/bd89f9a0-7e6f-d1e7-46b3-051bfbe290f4.htm" />
</HelpTOCNode>
<HelpTOCNode Id="d56a5d64-0b3f-4aa3-9b71-ea4bea1f61ff" Title="void_ptr Fields" Url="html/12a4c9d6-02cf-e913-816e-ad530e77722c.htm">
<HelpTOCNode Id="73509ec4-582a-4c3c-8c75-ac39a510b0db" Title="void_ptr Fields" Url="html/12a4c9d6-02cf-e913-816e-ad530e77722c.htm">
<HelpTOCNode Title="Zero Field" Url="html/3fce2dbc-bac6-d24f-d6d4-84454567b8f5.htm" />
</HelpTOCNode>
</HelpTOCNode>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"hamming":[8585218,13107205,15794178,25624578,35061764],"h55555555":[5701633,19333121,23986177],"h8000000000000000":[41811969],"h40000000":[21823490,39583746],"hex":[5242884,25165828,40828929],"h11111111":[11403265],"hc2d24d55":[6094849],"holds":[32702465],"heap":[7405569],"h5555":[5701633,19333121,23986177],"h80":[23068673,25100289,41353217],"h435e50d7":[24117249,26607617,41091073],"h22222222":[11403265],"h13":[24117249,26607617,41091073],"h80000000":[41811969],"hfffffffc":[29360129],"hfffffffe":[1507329,3014657,19267585,24969217,25493505,28770305,29360129,32374785,32571393,33030145,33685505,34930689,36241409,38404097,38469633],"hffffffff":[1507331,2359297,3014658,3670018,5570564,5701633,7471106,8257538,9764866,13697026,19267587,19333121,19857410,20447234,22544386,23986177,24117249,24969219,25034754,25821186,26607617,28180482,28770307,29360130,31784961,32374787,32571395,33030147,33488898,33685507,34930691,35061763,36241411,36765700,38273028,38404098,38469635,39387138,40173570,41091073,41811971],"hardware":[17432577,26673153,37158913],"hexadecimal":[12058625,19070977,20709377,22151169,36175873],"hf0f0f0f":[18546690],"hierarchy":[8060929,12713985,13631489,15794177,17825793,18481153,22216705,22413313,42532865],"handle":[8126465,8650753,19202049,23068673,25100289,41353217,41484289,42598401],"hd79":[24117249,26607617,41091073],"habcd1234":[5111809],"h40":[1376257],"he8":[15532033],"hf0f0f0f0":[196612,18546690,23789572],"high":[6553601,23986177,31784961],"highest":[41746433,42401793],"higher":[8585217,12845057,15794177,25624577,27262977,29032450],"h7ab824fd":[5111809],"h10000":[36044801],"hd4a51000":[15532033],"habcd12347ab824fd":[5111809],"hedcba987":[3014657,38404097],"hffff":[2359297,5701633,19333121,23986177,24117249,25493505,26607617,31784961,41091073],"h555555555555":[19333121],"h44444444":[11403265],"h5555aaaa":[31784961],"host":[23068675,25100290,25624577,41353218],"happens":[21823489,39583745],"h964619c7":[6094850],"h12345678":[3014657,5570561,7471106,20447234,28180482,36765697,38404097,40173569],"human":[31260673],"haaaaaaaa":[31784961],"he2":[1376257],"happen":[10092545,12124161],"h33333333":[11403267],"handled":[7405569,18153473],"h1e240":[1376257],"h1000":[5111810],"h7fffffff":[41811969],"hhc":[4718594,7077890,10878978,15138818,33226754,36503554],"help":[25624577],"half":[6553601],"hash":[131073,1179650,1769473,2162689,2228225,2293761,3604482,3866625,4653057,4980737,5636098,6225921,8060929,10944513,11993089,12713985,13500418,13631489,16777217,17825793,18481153,19726338,21364738,22216705,22413313,23527425,23592961,23658497,27197441,29753345,29949954,31260673,35389441,37224449,40566786,40960001,42532865,42991617,43515905,43646977]}
{"hamming":[6881282,13893637,20643844,37224452],"h55555555":[5111809,19529729,21889025],"h8000000000000000":[36962305],"h40000000":[20709378,33685506],"hex":[5570564,25559044,41156609],"h11111111":[10420225],"hc2d24d55":[6553601],"holds":[26738689],"heap":[4915201],"h5555":[5111809,19529729,21889025],"h80":[25362433,28311553,34668545],"h435e50d7":[25296897,28901377,43581441],"h22222222":[10420225],"h13":[25296897,28901377,43581441],"h80000000":[36962305],"hfffffffc":[31719425],"hfffffffe":[1048577,3473409,18939905,26017793,26083329,27000833,29818881,31195137,31326209,31719425,31981569,32243713,35651585,40763393,41746433],"hffffffff":[1048579,2097153,3473410,3866626,5111809,5242884,6225922,6684674,8781826,15597570,15663106,18939907,19464194,19529729,19922946,21889025,25296897,26017795,27000835,27787266,28901377,29556738,29818883,31195139,31326211,31653890,31719426,31981571,32243714,33161217,33488898,33947650,34406402,35651587,36962307,37224451,40763395,40828932,41746435,43253764,43581441],"hardware":[18350081,24313857,40697857],"hexadecimal":[9437185,16711681,19988481,23396353,36241409],"hf0f0f0f":[18677762],"hierarchy":[9371649,12517377,14286849,15269889,17563649,20643841,23855105,28770305,41811969],"handle":[9240577,9306113,13631489,25362433,28311553,34668545,39387137,43319297],"hd79":[25296897,28901377,43581441],"habcd1234":[5767169],"h40":[1572865],"he8":[16580609],"hf0f0f0f0":[1114116,18677762,19791876],"high":[6160385,21889025,33161217],"highest":[36044801,40566785],"higher":[6881281,14811137,20643842,24641537,30605314],"h7ab824fd":[5767169],"h10000":[40239105],"hd4a51000":[16580609],"habcd12347ab824fd":[5767169],"hedcba987":[3473409,32243713],"hffff":[2097153,5111809,19529729,21889025,25296897,26083329,28901377,33161217,43581441],"h555555555555":[19529729],"h44444444":[10420225],"h5555aaaa":[33161217],"host":[22675457,25362435,28311554,34668546],"happens":[20709377,33685505],"h964619c7":[6553602],"h12345678":[3473409,5242881,6225922,19464194,32243713,33947650,34406401,43253761],"human":[34078721],"haaaaaaaa":[33161217],"he2":[1572865],"happen":[10944513,13107201],"h33333333":[10420227],"handled":[4915201,16515073],"h1e240":[1572865],"h1000":[5767170],"h7fffffff":[36962305],"hhc":[4325378,7471106,8650754,14680066,27197442,37683202],"help":[22675457],"half":[6160385],"hash":[131073,1245186,1638401,1835009,2228225,2424833,3080194,4653057,4784130,5046273,5373953,7012353,9371649,11796481,12517377,13828097,14286849,14745602,15269889,17563649,18153473,21168129,21233666,22151170,23592961,23855105,25165825,28770305,29425665,32702465,32964610,33292290,34078721,36896769,37617665,38666241,38797313,39321601,41811969,42270721]}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"just":[1900545,5111809,9830401,12058625,19398657,25100290,29032449,35913729,41353218,41746433,43384833],"jacobi":[917508,1835012,8585222,11599876,14483460,15794182,25624582,27983876,29622273,40501252]}
{"just":[1900545,5767169,9437185,10158081,22806529,28311554,30605313,34668546,37748737,40566785,42663937],"jacobi":[720900,1966084,6881286,9175044,15532036,20643852,27328516,32047105,38469636]}

View File

@ -1 +1 @@
{"kronecker":[917509,1835013,8585221,14483461,15794181,25624581,27983877,40501253],"kind":[16515073,33816577,34144257],"known":[8585218,9502721,11927553,15794178,15990785,18153473,25624578],"know":[23068673,28114945,40239105],"knut":[8585217,15794177,25624577,38535169],"keys":[28049409,33751041],"knuth":[38535169,39256065]}
{"kronecker":[720901,1966085,6881285,15532037,20643850,27328517,38469637],"kind":[14614529,34209793,40108033],"known":[6881282,8126465,10813441,16515073,18874369,20643844],"know":[25362433,27983873,34996225],"knut":[6881281,20643842,41287681],"keys":[32178177,34013185],"knuth":[34734081,41287681]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"qxn":[24117249,26607622,41091083],"qualified":[131073,3866625,43515905,43646977],"quotient":[1703938,2621442,8585236,9502721,10354690,11665414,11927553,15794196,16318466,18219010,18284546,19333122,19791874,20250626,21889026,23986177,24051714,24117250,25624596,26607625,27459586,31784961,33554434,34406402,35979266,41091074,41156610],"quality":[28049409,33751041],"quite":[28049409,33751041]}
{"qxn":[25296897,28901382,43581451],"qualified":[131073,4653057,36896769,37617665],"quotient":[1507330,3342338,6881300,8126465,9764866,10813441,11927558,12648450,14155778,17432578,19333122,19529730,20643880,21037058,21626882,21889025,24707074,25296898,28901385,30081026,30212098,33161217,39976962,40042498,43384834,43581442],"quality":[32178177,34013185],"quite":[32178177,34013185]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"way":[18153473,29032449,40894465,41746434],"write":[1376258,3014657,5570561,7077890,7471105,8257537,8454145,8519682,8585244,12058626,14155778,15138818,15794204,15925249,18546689,19267585,19595266,19857409,20447233,22151170,22544385,24117249,25034753,25624604,25821185,27525122,28180481,28770305,29360129,32571393,32702466,33030145,34930689,36241409,36765697,38404097,38469633,39387137,40173569,41091073,41811969,42074114,43384834],"word":[8585219,15007746,15794179,23068682,25100300,25624581,31260674,41353228],"widening":[262145,1245185,4390913,7012353,8781825,10747905,11141121,12582913,15269889,16121857,16252929,17629185,18677761,19070977,19464193,20054017,20316161,20578305,21692417,22347777,23265281,24182785,26411009,31064065,32309249,32899073,36175873,37355521,37421057,38076417,38993921,40632321,43712513],"want":[21299201],"windows":[25624584],"win32":[25624577],"won":[23986177,28114945,31784961,40239105],"warnings":[25624577],"window":[25624580],"writing":[1376258,5701633,8323073,8585219,15794179,19595266,23986177,25624579,31784961,42074113,43384834],"welcome":[25624577],"white":[8585217,12058627,15794177,20709377,21299203,22151169,25624577,40828929],"w64":[25624580],"wanted":[2490369,28246017,33095681,36044801,42401793],"written":[1376261,5701633,8257537,8454145,8585217,14155777,14745601,15663105,15794177,15925249,17563649,19595267,20643841,22544385,23330817,24117249,25100291,25624577,25821185,28114945,28770305,29032449,29360129,33030145,34340865,40239105,41091074,41353219,41811969,42074114,43384835],"writealltext":[7077890,8519682,12058626,15138818,22151170],"words":[13828097,23068677,25100293,34799617,41353221],"win64":[25624577]}
{"way":[16515073,30605313,33816577,40566786],"write":[1572866,3473409,5242881,6225921,6881308,8388609,8650754,8781825,9437186,9895938,12255234,14680066,15663105,16908289,18677761,18939905,19464193,19922945,20643896,22478850,23396354,25034754,25296897,26017793,26738690,27787265,29556737,29818881,31195137,31326209,31719425,32243713,33488897,33947649,34406401,36962305,37748738,40763393,41746433,43253761,43515906,43581441],"word":[6881283,18612226,20643845,22675459,25362442,28311564,34078722,34668556],"widening":[327681,1310721,4063233,7143425,7864321,10289153,11665409,13369345,13434881,15728641,15859713,16711681,17039361,17498113,20840449,21692417,21823489,22413313,22609921,23658497,25427969,26869761,26935297,28966913,29229057,33030145,33226753,34865153,36241409,37879809,38928385,39124993,41615361],"want":[22347777],"windows":[22675464],"win32":[22675457],"won":[21889025,27983873,33161217,34996225],"warnings":[22675457],"window":[22675460],"writing":[1572866,5111809,6881283,9830401,20643846,21889025,22478850,33161217,37748738,43515905],"welcome":[22675457],"white":[6881281,9437187,19988481,20643842,22347779,23396353,41156609],"w64":[22675460],"wanted":[2686977,25624577,36044801,39583745,40239105],"written":[1572869,5111809,6881281,8388609,8781825,12255233,15925249,15990785,16908289,18546689,19922945,20643841,21954561,22478851,23330817,25296897,26017793,27983873,28311555,29556737,30605313,31326209,31719425,34668547,34996225,36962305,37748739,38993921,43515906,43581442],"writealltext":[8650754,9437186,9895938,14680066,23396354],"words":[15400961,25362437,28311557,34668549,36700161],"win64":[22675457]}

View File

@ -1 +1 @@
{"xor":[3014658,7471106],"x86_64":[25624579],"x64":[14090242,25624584,27525122,32702466],"x86":[14090242,25624582,27525122,32702466],"xxxxxxxxxxxxxxxxx":[5242882,25165826]}
{"xor":[3473410,6225922],"x86_64":[22675459],"x64":[13238274,22675464,25034754,26738690],"x86":[13238274,22675462,25034754,26738690],"xxxxxxxxxxxxxxxxx":[5570562,25559042]}

View File

@ -1 +1 @@
{"yasm":[25624582],"ylimb":[8585217,15794177,17104903,25624577],"yields":[8585218,15400961,15794178,25624578,30867457]}
{"yasm":[22675462],"ylimb":[6881281,18219015,20643842],"yields":[6881282,16187393,20643844,25952257]}

View File

@ -1 +1 @@
{"zero":[458753,1310721,1441793,2031617,2162689,2359297,3145730,3211265,3407874,3473410,5111810,5242881,6094849,6619138,7405570,7667714,8126467,8585263,8650755,8978434,9306116,9764874,9895937,9961473,10158085,10420225,10551297,11075585,11337730,11403265,12189698,12255234,12451841,12517377,13434881,13959170,14024705,14548994,14614532,14811138,15335425,15532034,15794223,15859714,15990785,16384002,17104897,17367044,17432577,18612226,18808833,18874370,19136514,19202051,19267585,19333121,19398657,19922945,20709378,21823489,22806529,22937604,23003139,23068674,23986178,24117249,24379397,24444929,24838146,25034753,25100294,25165827,25296897,25493505,25624623,25886723,26607618,26673154,26738692,27525122,27787265,27852801,28114947,29229057,29360129,30670849,31784962,32112641,32243714,32702466,33488899,33685514,34013186,34734084,35258370,35913730,36044806,36241409,36700162,36831234,36896769,37158913,38273027,38338562,38469633,38797313,39583745,39911426,40239107,40435716,40828929,40894466,41025537,41091074,41353222,41615362,41746434,41811969,41877505,42139649,42401796,42663938,42795010,42926082,43253764,43450370,43515905,43778054],"zeros":[2031617,5242881,8585220,15794180,16515073,19922945,25624580,28114945,33816577,34144257,34537475,40239105],"zip":[25624577],"zeroes":[13828097,30146561,34799617],"zeromemory":[8585218,15794178,25624578,34537478]}
{"zero":[458753,851969,1376257,1638401,1703937,2097153,2621442,3014658,3145729,3211266,4915202,5570561,5701634,5767170,6422530,6553601,6684682,6881327,6946817,8192002,8257538,8519681,9240579,9306115,9633794,10420225,10551297,10878980,11010049,11141122,11403269,11468801,12713985,13565953,13631491,14221314,14352385,14483458,14548994,15138820,15335425,16580610,16646146,17235969,17629186,17694722,17891329,18219009,18350081,18874369,18939905,19529729,19595265,19988482,20381700,20578308,20709377,20643934,21299203,21757954,21889026,22085637,22806529,23134210,24313858,24444930,25034754,25296897,25362434,25559043,25755649,26083329,26345475,26411009,26738690,27131908,27787265,27983875,28180481,28311558,28508161,28901378,29097986,31653891,31719425,31981578,32112641,32440321,33161218,33554433,33685505,33816578,34668550,34996227,35061761,35323905,35782658,36044804,36306948,36438018,36503553,36569092,36896769,36962305,37421058,37486593,37552130,37814273,37945346,38141954,38404102,38600706,39190530,40239110,40566786,40697857,40763393,40828931,41156609,41746433,41877505,42139650,42205186,42663938,42926084,43581442,43778050],"zeros":[1703937,5570561,6881284,14614529,17891329,20643848,27983873,34209793,34996225,39256067,40108033],"zip":[22675457],"zeroes":[15400961,31129601,36700161],"zeromemory":[6881282,20643844,39256070]}

View File

@ -1 +1 @@
{"_mpz_realloc":[5111809,8323073,8585217,14090241,15794177,15859713,24838145,25624577,27525121,32702465,40894475],"_ptr":[13631489],"_mp_d_intptr":[655366,7995398,8060930,13172738,14680066,22216705,22413314,37027841,37617670],"_mp_size":[3407879,3932166,8060930,13172738,14680066,22216705,22413314,25886727,25952258,37027841,41746433,42401796],"_mp_den":[2883585,18481153,39321605],"_mp_num":[2883585,10027013,18481153],"_mp_d":[3407873,8060929,13172737,14680066,22216705,22413314,25886721,25952258,37027841,41746433,42401804],"_wfopen_s":[1376258,7077890,8519682,12058626,14155780,15138818,15663106,19595266,22151170,34340866,42074113,43384834],"_mp_alloc":[14680065,22413313,25952264],"_mp_prec":[8060929,13172737,18808838,42401793],"_mp_exp":[8060929,13172737,25886722,41746437]}
{"_mpz_realloc":[5767169,6881281,9830401,13238273,16646145,20643842,24444929,25034753,26738689,33816587],"_ptr":[15269889],"_mp_d_intptr":[524294,9109510,9371650,11993090,17956866,23855106,28770305,35520513,41222150],"_mp_size":[3211271,3735558,9371650,11993090,17956866,23855106,24051714,26345479,28770305,35520513,36044804,40566785],"_mp_den":[2490369,17563649,42729477],"_mp_num":[2490369,11599877,17563649],"_mp_d":[3211265,9371649,11993089,17956866,23855106,24051714,26345473,28770305,35520513,36044812,40566785],"_wfopen_s":[1572866,8650754,9437186,9895938,12255236,14680066,18546690,22478850,23396354,37748738,38993922,43515905],"_mp_alloc":[17956865,23855105,24051720],"_mp_prec":[9371649,11993089,19595270,36044801],"_mp_exp":[9371649,11993089,26345474,40566789]}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"bit":[1179649,1376258,2752514,3473410,3604481,4980737,5636097,6029318,6553602,6619138,7405570,8060929,8585245,9306114,10092560,10616834,11993089,12124176,13107204,13500417,13762566,13828097,14155778,14548994,15794206,16580610,17367042,18153473,19136514,19398658,19726337,20185089,21364737,25427981,25624631,26083330,26738690,27066369,27918338,28704769,29556738,29949953,31129601,32243714,32833549,34209798,34734082,34799617,35061762,36700162,37224449,37289986,39124998,40304641,40435714,40566785,40697858,40894466,40960001,42401793,43253762,43450369],"binary":[1376257,2031617,8585220,15794180,16515073,19070977,19922945,20709377,22151169,25624580,26083329,33816577,34144257,36175873,40828929],"behaves":[2752513,6029313,10092545,10616833,12124161,13107201,13762561,16580609,26083329,34209793,39124993,40697857],"bz2":[25624577],"block":[1900552,4849666,7798786,8585221,10223618,14614531,15794181,17760259,22544385,25100291,25624581,25821185,28114947,31195141,33030145,34537475,35913731,40239107,41353219,41484291,41549826,42598403,43515907,43646978],"bool":[589828,6946819,7864324,9109507,9371652,11010051,13041667,16711684,17956867,20971523,21233668,21626883,24576004,25755651,26869763,27656195,27721731,30474243,30539779,30605316,30736387,31588355,32440323,33882115,34603011,35323907,35651587,37945347,38600708,38731779,40042499,42729475],"bits":[327682,2818050,3145730,3735554,4259841,4456452,4521986,4980738,5505026,6553602,7405574,7602178,8126465,8388610,8585227,8650754,9043970,9240578,9568258,9830401,10092545,11075586,12124161,12320770,12451842,12517378,12976134,13107201,15335426,15597570,15794188,15990785,16449540,17039362,17432578,17694722,18153476,19202050,20185092,20774914,21954562,23068675,24510466,25100290,25624589,26083331,27262978,27918340,28114946,28311554,28377094,28704769,28835842,29032452,29360136,29556740,30670850,31260673,31457282,33357826,35258369,36438018,37289985,37486593,37552130,38666242,40239106,40304642,41353218,41549825,41811975,41877506,42205186,42860546,43450370],"bytesperlimb":[18087940],"bitwise":[2752515,3014657,5570562,7471106,8585233,10616835,15794193,18546689,19398657,20447233,25624593,28180482,36765697,38404098,40173570,40697859],"byref":[23003138,24903686,28114946,39583746,41353218],"binomial":[8585218,10485763,15794178,25624578,39256067],"boolean":[589826,6946818,7864322,9109506,9371650,11010050,13041666,16711682,17956866,20971522,21233666,21626882,24576002,25755650,26869762,27656194,27721730,30474242,30539778,30605314,30736386,31588354,32440322,33882114,34603010,35323906,35651586,37945346,38600706,38731778,40042498,42729474],"bases":[19398658,20709378,21299202,22151170],"based":[5111809,11403265,14090242,25624577,27525122,27852801,32702466],"book":[8585217,15794177,25624577,38535169],"bytes":[1376261,1900551,4849665,5242882,7733251,7798785,8454146,8519683,8585221,12058626,14155779,14614530,15794182,15925250,18087937,19595267,22151171,23068678,25100292,25165825,25624582,28114946,28704769,30146561,31195142,34537474,35913730,40239106,40960001,41353220,41549828,42074114,43188227,43384835],"bitsperlimb":[37486596],"bin":[25624582,39256066],"base":[1245186,5242891,8519695,8585245,12058632,12320776,14614539,15400967,15794205,19398666,19595274,20709388,21299215,22151178,23461892,25165835,25296918,25624604,26542101,27787286,28114954,30867477,34013192,35913739,38666250,40239114,40828937,42074121,43384841],"byte":[393218,786434,1376258,3276803,4194310,4915202,4980741,5242886,7012354,7143425,8781826,11993093,17301510,17825793,18677766,19464198,19529734,20381700,21757957,22675458,23068679,23265286,25100296,25165833,27394050,28508163,29097986,29884422,30146565,30998533,31260676,31719426,32768006,33619972,36306949,37224453,38076422,39780355,40960004,41353224,41680897,43581442,43712518],"beginning":[21299201],"body":[31260673],"bound":[851969],"bugs":[16515073,33816577,34144257],"bit_index":[6029319,8585220,13762566,15794180,25624580,34209798,39124998],"borrows":[23986177,31784961],"buf":[8454151,8585220,14745608,15794180,15925255,23330824,25624580],"built":[25624577],"bigger":[1900545,35258369],"build":[25624585],"b1p":[38273030],"borrow":[24969221,25034757,25821189,28770309,32571397,33685509,34930693],"big":[1376257,9830401,17432578,19398657,26673153,31129601,37158914,38666241,40304641,42008577],"behaviour":[43778049],"building":[22544385,25624580,25821185,33030145],"better":[28049409,33751041],"best":[2490369,25624577,33095681]}
{"bit":[1245185,1572866,3014658,3080193,3538947,4784129,4915202,5046273,5701634,6160386,6619143,6881309,9371649,10878978,10944529,11206659,12255234,13041671,13107217,13828097,13893637,14745601,15400961,16515073,17104899,17629186,20578306,20643901,21233665,21561345,22151169,22675480,22806530,23003139,23134210,24510466,25821186,27131906,27590657,28246023,28639233,28704781,29097986,30146561,30277645,32964609,33292289,33816578,36044801,36306946,36438017,36569090,36634625,36700161,37224450,37552130,38666241,39321601,41680903,42008578,42926082,43057155],"binary":[1572865,1703937,6881284,14614529,16711681,17891329,19988481,20643848,23003137,23396353,34209793,36241409,40108033,41156609],"behaves":[3538945,6619137,10944513,11206657,13041665,13107201,13893633,17104897,23003137,28246017,41680897,43057153],"bz2":[22675457],"block":[1900552,4194306,6881285,7536642,11272194,15138819,16973827,19922945,20643850,27983875,28311555,29163525,29556737,31326209,34668547,34996227,35979266,36896771,37617666,39256067,39387139,42663939,43319299],"bool":[393220,7929859,8585219,9043972,10354692,10747907,12582915,13697027,15794180,19726339,20054020,22282244,23986179,24772611,27918339,29753347,30408707,31260676,31588355,31784963,31916035,32571396,32833539,32899075,33357827,34537475,34603011,35913731,36175875,39845891,40501251,42795011],"bits":[196610,2621442,2818050,3801090,3932161,4128770,4915206,4980740,5046274,6160386,6291458,6881291,8847362,9240577,9306114,9961474,10027010,10092546,10158081,10551298,10616834,10944513,12320770,12451846,12910594,13107201,13631490,13762562,13893633,13959170,14352386,15335426,16515076,17235970,18284548,18350082,18874369,19398658,20643864,21561348,22675457,23003139,24510468,24641538,25100290,25362435,25821188,25886722,27262978,27852802,27983874,28311554,28573702,30146561,30605316,31719432,32112642,34078721,34668546,34996226,35258370,35979265,36438018,36503554,36634626,36962311,38338562,40173570,40960001,41418754,42008577,42139649,42336258,42467330,42991618],"bytesperlimb":[12779524],"bitwise":[3473409,3538947,5242882,6225922,6881297,11206659,18677761,19464193,20643874,22806529,32243714,33947650,34406402,43057155,43253761],"byref":[21299202,24903686,27983874,33685506,34668546],"binomial":[6881282,11534339,20643844,34734083],"boolean":[393218,7929858,8585218,9043970,10354690,10747906,12582914,13697026,15794178,19726338,20054018,22282242,23986178,24772610,27918338,29753346,30408706,31260674,31588354,31784962,31916034,32571394,32833538,32899074,33357826,34537474,34603010,35913730,36175874,39845890,40501250,42795010],"bases":[19988482,22347778,22806530,23396354],"based":[5767169,10420225,13238274,22675457,25034754,26738690,33554433],"book":[6881281,20643842,41287681],"bytes":[1572869,1900551,4194305,5570562,6881285,7405571,7536641,8388610,9437186,9895939,12255235,12779521,15138818,16908290,20643852,22478851,23396355,25362438,25559041,27983874,28311556,29163526,30146561,31129601,34668548,34996226,35979268,36110339,37748739,39256066,39321601,42663938,43515906],"bitsperlimb":[40960004],"bin":[22675462,34734082],"base":[1310722,5570571,6881309,9437192,9895951,13959176,15138827,16187399,19988492,20643898,20971524,22347791,22478858,22675457,22806538,23396362,24969237,25559051,25755670,25952277,27983882,28508182,34996234,37748745,39190536,41156617,42467338,42663947,43515913],"byte":[262146,786434,1572866,3276803,4718598,5046277,5570566,5636098,7864322,8716289,10289154,12517377,13828101,17498118,18087942,19202054,19857410,22413318,23199748,23658502,24838146,25362439,25559049,27459587,27721733,28114946,28311560,29491202,31064070,31129605,32374790,33423365,33882115,34078724,34668552,37093381,37355522,37879814,38666245,39321604,40370180,41615366,43450369],"beginning":[22347777],"body":[34078721],"bound":[655361],"bugs":[14614529,34209793,40108033],"bit_index":[6619143,6881284,13041670,20643848,28246022,41680902],"borrows":[21889025,33161217],"buf":[6881284,8388615,15925256,16908295,20643848,23330824],"built":[22675457],"bigger":[1900545,42139649],"build":[22675465],"b1p":[40828934],"borrow":[26017797,27000837,27787269,29556741,29818885,31195141,31981573],"big":[1572865,10158081,18350082,22806529,24313857,27590657,36634625,37027841,40697858,42467329],"behaviour":[38404097],"building":[19922945,22675460,29556737,31326209],"better":[32178177,34013185],"best":[2686977,22675457,39583745]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,4 +6,4 @@
Returns a value indicating whether this instance is equal to a specified <a href="1bcc07bd-8fee-1107-844c-a5ff10e7660c.htm">FILE</a> value.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="b6911fef-883d-ec11-c2ad-1ff1ff565601.htm">GetHashCode</a></td><td><div class="summary">
Returns the hash code for this instance.
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/y3509fc2" target="_blank">ValueType<span id="LST612440A8_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST612440A8_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>GetHashCode<span id="LST612440A8_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST612440A8_2?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">Gets the type of the current instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/wb77sz3h" target="_blank">ToString</a></td><td><div class="summary">Returns the fully qualified type name of this instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/aey3s293" target="_blank">ValueType</a>.)</td></tr></table><a href="#PageHeader">Top</a></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID1RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="1bcc07bd-8fee-1107-844c-a5ff10e7660c.htm">FILE Structure</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/y3509fc2" target="_blank">ValueType<span id="LST612440A8_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST612440A8_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>GetHashCode<span id="LST612440A8_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST612440A8_2?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">Gets the <a href="http://msdn2.microsoft.com/en-us/library/42892f65" target="_blank">Type</a> of the current instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/wb77sz3h" target="_blank">ToString</a></td><td><div class="summary">Returns the fully qualified type name of this instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/aey3s293" target="_blank">ValueType</a>.)</td></tr></table><a href="#PageHeader">Top</a></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID1RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="1bcc07bd-8fee-1107-844c-a5ff10e7660c.htm">FILE Structure</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -53,4 +53,4 @@ gmp_lib.mpf_sqrt(z, x)
Assert.IsTrue(gmp_lib.mpf_get_d(z) = <span class="highlight-number">10.0</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for x and z.</span>
gmp_lib.mpf_clears(x, z, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="c19999f1-01ee-a3fe-dc4d-2a459e73492d.htm">gmp_lib<span id="LST5CB2475E_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5CB2475E_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_add(mpf_t, mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="718e7623-d25b-8a09-2543-745f24cd82c1.htm">gmp_lib<span id="LST5CB2475E_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5CB2475E_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_sub(mpf_t, mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="309e6a8c-1318-2d30-a058-f119193546a0.htm">gmp_lib<span id="LST5CB2475E_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5CB2475E_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_mul(mpf_t, mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="4e876639-72f5-7659-f4a9-862639e27e1c.htm">gmp_lib<span id="LST5CB2475E_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5CB2475E_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_div(mpf_t, mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="44e6038b-2e97-b53d-0d46-ce1fff3522d0.htm">gmp_lib<span id="LST5CB2475E_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5CB2475E_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_sqrt_ui(mpf_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="96e2fb95-0ac0-3d24-bea9-ee5631f30347.htm">gmp_lib<span id="LST5CB2475E_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5CB2475E_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_pow_ui(mpf_t, mpf_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="357791cb-951d-5542-ff67-c00ef5e9aadb.htm">gmp_lib<span id="LST5CB2475E_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5CB2475E_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_neg(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="17731ba4-bf91-6b9b-737a-a9cc306ba17d.htm">gmp_lib<span id="LST5CB2475E_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5CB2475E_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_abs(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Float-Arithmetic.html#Float-Arithmetic">GNU MP - Float Arithmetic</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpf_clears(x, z, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="c19999f1-01ee-a3fe-dc4d-2a459e73492d.htm">mpf_add</a></div><div class="seeAlsoStyle"><a href="718e7623-d25b-8a09-2543-745f24cd82c1.htm">mpf_sub</a></div><div class="seeAlsoStyle"><a href="309e6a8c-1318-2d30-a058-f119193546a0.htm">mpf_mul</a></div><div class="seeAlsoStyle"><a href="4e876639-72f5-7659-f4a9-862639e27e1c.htm">mpf_div</a></div><div class="seeAlsoStyle"><a href="44e6038b-2e97-b53d-0d46-ce1fff3522d0.htm">mpf_sqrt_ui</a></div><div class="seeAlsoStyle"><a href="96e2fb95-0ac0-3d24-bea9-ee5631f30347.htm">mpf_pow_ui</a></div><div class="seeAlsoStyle"><a href="357791cb-951d-5542-ff67-c00ef5e9aadb.htm">mpf_neg</a></div><div class="seeAlsoStyle"><a href="17731ba4-bf91-6b9b-737a-a9cc306ba17d.htm">mpf_abs</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Float_Arithmetic">Float Arithmetic</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Float-Arithmetic.html#Float-Arithmetic">GNU MP - Float Arithmetic</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -45,4 +45,4 @@ gmp_lib.mpn_copyi(rp, sp, sp.Size)
Assert.IsTrue(rp.SequenceEqual(result))
<span class="highlight-comment">' Release unmanaged memory.</span>
gmp_lib.free(rp, sp, result)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="78443f19-f0c6-4a1f-1eed-a815b734e981.htm">gmp_lib<span id="LSTA43010D4_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA43010D4_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_copyd(mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="90a57214-6596-be63-31e7-aa3186252628.htm">gmp_lib<span id="LSTA43010D4_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA43010D4_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_zero(mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.free(rp, sp, result)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="78443f19-f0c6-4a1f-1eed-a815b734e981.htm">mpn_copyd</a></div><div class="seeAlsoStyle"><a href="90a57214-6596-be63-31e7-aa3186252628.htm">mpn_zero</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Low_level_Functions">Low-level Functions</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -17,8 +17,8 @@
)</pre></div><div id="ID0EDCA_code_Div4" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">static</span> <span class="keyword">member</span> <span class="identifier">mpz_cmpabs_d</span> :
<span class="parameter">op1</span> : <span class="identifier">mpz_t</span> *
<span class="parameter">op2</span> : <span class="identifier">float</span> <span class="keyword">-&gt;</span> <span class="identifier">int</span>
</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">op1</span></dt><dd>Type: <a href="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">Math.Gmp.Native<span id="LST4DBCAABC_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_t</a><br />The first operand integer.</dd><dt><span class="parameter">op2</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/643eft0t" target="_blank">System<span id="LST4DBCAABC_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Double</a><br />The second operand integer.</dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="http://msdn2.microsoft.com/en-us/library/td2s409d" target="_blank">Int32</a><br />Return a positive value if | <span class="parameter">op1</span> | &gt; | <span class="parameter">op2</span> |, zero if | <span class="parameter">op1</span> | = | <span class="parameter">op2</span> |, or a negative value if | <span class="parameter">op1</span> | &lt; | <span class="parameter">op2</span> |.</div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p><span class="selflink">mpz_cmpabs_d(mpz_t, Double)</span> can be called with an infinity (see <a href="http://msdn2.microsoft.com/en-us/library/7c4k7y8t" target="_blank">PositiveInfinity</a> or <a href="http://msdn2.microsoft.com/en-us/library/3x7fs67h" target="_blank">NegativeInfinity</a>),
but results are undefined for a <a href="http://msdn2.microsoft.com/en-us/library/c8481tka" target="_blank">NaN</a>.
</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">op1</span></dt><dd>Type: <a href="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">Math.Gmp.Native<span id="LST4DBCAABC_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_t</a><br />The first operand integer.</dd><dt><span class="parameter">op2</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/643eft0t" target="_blank">System<span id="LST4DBCAABC_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Double</a><br />The second operand integer.</dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="http://msdn2.microsoft.com/en-us/library/td2s409d" target="_blank">Int32</a><br />Return a positive value if | <span class="parameter">op1</span> | &gt; | <span class="parameter">op2</span> |, zero if | <span class="parameter">op1</span> | = | <span class="parameter">op2</span> |, or a negative value if | <span class="parameter">op1</span> | &lt; | <span class="parameter">op2</span> |.</div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p><span class="selflink">mpz_cmpabs_d</span> can be called with an infinity (see <a href="http://msdn2.microsoft.com/en-us/library/7c4k7y8t" target="_blank">double.PositiveInfinity</a> or <a href="http://msdn2.microsoft.com/en-us/library/3x7fs67h" target="_blank">double.NegativeInfinity</a>),
but results are undefined for a <a href="http://msdn2.microsoft.com/en-us/library/c8481tka" target="_blank">double.NaN</a>.
</p></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Examples</span></div><div id="ID3RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDAABA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cs','1','4');return false;">C#</a></div><div id="ID0EDAABA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','vb','2','4');return false;">VB</a></div><div id="ID0EDAABA_tab3" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cpp','3','4');return false;">C++</a></div><div id="ID0EDAABA_tab4" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDAABA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDAABA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDAABA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="highlight-comment">// Create, initialize, and set the value of op1 to -63.</span>
mpz_t op1 = <span class="highlight-keyword">new</span> mpz_t();
gmp_lib.mpz_init_set_si(op1, <span class="highlight-number">-63</span>);
@ -35,4 +35,4 @@ gmp_lib.mpz_init_set_si(op1, <span class="highlight-number">-63</span>)
Assert.IsTrue(gmp_lib.mpz_cmpabs_d(op1, <span class="highlight-number">-70.0</span>) &lt; <span class="highlight-number">0</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for op1.</span>
gmp_lib.mpz_clear(op1)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="eea958f4-5951-38f2-05ba-3870cefb3842.htm">gmp_lib<span id="LST4DBCAABC_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmp(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="bb37470f-5f40-4f6d-01d9-4e40446782a3.htm">gmp_lib<span id="LST4DBCAABC_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmp_d(mpz_t, Double)</a></div><div class="seeAlsoStyle"><a href="2e55f6fd-0083-fc85-0d42-65e472376dbe.htm">gmp_lib<span id="LST4DBCAABC_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmp_si(mpz_t, Int32)</a></div><div class="seeAlsoStyle"><a href="bfe022c5-95d3-45d7-0c6f-97167a9a0af2.htm">gmp_lib<span id="LST4DBCAABC_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmp_ui(mpz_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="3e06d348-8a15-691d-5889-ab3f1a4c9f73.htm">gmp_lib<span id="LST4DBCAABC_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmpabs(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="05f897c4-77dc-7735-81ca-65650f61d961.htm">gmp_lib<span id="LST4DBCAABC_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmpabs_ui(mpz_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="86b2033c-26c3-3889-9025-b2a638910a86.htm">gmp_lib<span id="LST4DBCAABC_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST4DBCAABC_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_sgn(mpz_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Integer-Comparisons.html#Integer-Comparisons">GNU MP - Integer Comparisons</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpz_clear(op1)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="eea958f4-5951-38f2-05ba-3870cefb3842.htm">mpz_cmp</a></div><div class="seeAlsoStyle"><a href="bb37470f-5f40-4f6d-01d9-4e40446782a3.htm">mpz_cmp_d</a></div><div class="seeAlsoStyle"><a href="2e55f6fd-0083-fc85-0d42-65e472376dbe.htm">mpz_cmp_si</a></div><div class="seeAlsoStyle"><a href="bfe022c5-95d3-45d7-0c6f-97167a9a0af2.htm">mpz_cmp_ui</a></div><div class="seeAlsoStyle"><a href="3e06d348-8a15-691d-5889-ab3f1a4c9f73.htm">mpz_cmpabs</a></div><div class="seeAlsoStyle"><a href="05f897c4-77dc-7735-81ca-65650f61d961.htm">mpz_cmpabs_ui</a></div><div class="seeAlsoStyle"><a href="86b2033c-26c3-3889-9025-b2a638910a86.htm">mpz_sgn</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Integer_Comparisons">Integer Comparisons</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Integer-Comparisons.html#Integer-Comparisons">GNU MP - Integer Comparisons</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -36,4 +36,4 @@ gmp_lib.gmp_randseed_ui(state, <span class="highlight-number">1000</span>UI)
<span class="highlight-keyword">Dim</span> rand <span class="highlight-keyword">As</span> <span class="highlight-keyword">UInteger</span> = gmp_lib.gmp_urandomm_ui(state, <span class="highlight-number">8</span>)
<span class="highlight-comment">' Free all memory occupied by state.</span>
gmp_lib.gmp_randclear(state)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="7b541895-53a8-b335-32de-d5b2224ff0f7.htm">gmp_lib<span id="LST5CF6381E_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5CF6381E_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>gmp_urandomb_ui(gmp_randstate_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Random-State-Miscellaneous.html#Random-State-Miscellaneous">GNU MP - Random State Miscellaneous</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.gmp_randclear(state)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="7b541895-53a8-b335-32de-d5b2224ff0f7.htm">gmp_urandomb_ui</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Random_State_Miscellaneous">Random State Miscellaneous</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Random-State-Miscellaneous.html#Random-State-Miscellaneous">GNU MP - Random State Miscellaneous</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -19,7 +19,7 @@
<span class="parameter">b</span> : <span class="identifier">int</span> <span class="keyword">-&gt;</span> <span class="identifier">int</span>
</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">a</span></dt><dd>Type: <a href="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">Math.Gmp.Native<span id="LSTFD548350_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFD548350_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_t</a><br />The first operand integer.</dd><dt><span class="parameter">b</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/td2s409d" target="_blank">System<span id="LSTFD548350_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFD548350_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Int32</a><br />The second operand integer.</dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="http://msdn2.microsoft.com/en-us/library/td2s409d" target="_blank">Int32</a><br />The Jacobi symbol (<span class="parameter">a</span>/<span class="parameter">b</span>) with the Kronecker extension (<span class="parameter">a</span>/2) = (2/<span class="parameter">a</span>) when <span class="parameter">a</span> odd, or (<span class="parameter">a</span>/2) = 0 when <span class="parameter">a</span> even.</div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p>
When <span class="parameter">b</span> is odd the Jacobi symbol and Kronecker symbol are identical,
so <a href="07613c31-7d00-9806-1676-55f8c5a997f8.htm">mpz_kronecker_ui(mpz_t, UInt32)</a>, etc. can be used for mixed precision Jacobi symbols too.
so <a href="07613c31-7d00-9806-1676-55f8c5a997f8.htm">mpz_kronecker_ui</a>, etc. can be used for mixed precision Jacobi symbols too.
</p></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Examples</span></div><div id="ID3RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDAABA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cs','1','4');return false;">C#</a></div><div id="ID0EDAABA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','vb','2','4');return false;">VB</a></div><div id="ID0EDAABA_tab3" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cpp','3','4');return false;">C++</a></div><div id="ID0EDAABA_tab4" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDAABA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDAABA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDAABA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="highlight-comment">// Create, initialize, and set the value of a to 15.</span>
mpz_t a = <span class="highlight-keyword">new</span> mpz_t();
gmp_lib.mpz_init_set_ui(a, <span class="highlight-number">15</span>U);
@ -36,4 +36,4 @@ gmp_lib.mpz_init_set_ui(a, <span class="highlight-number">15</span>UI)
Assert.IsTrue(gmp_lib.mpz_kronecker_si(a, <span class="highlight-number">4</span>) = <span class="highlight-number">1</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for a.</span>
gmp_lib.mpz_clear(a)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="54ba330f-67d3-fa30-2d5f-0480b7f4659c.htm">gmp_lib<span id="LSTFD548350_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFD548350_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_kronecker(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="07613c31-7d00-9806-1676-55f8c5a997f8.htm">gmp_lib<span id="LSTFD548350_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFD548350_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_kronecker_ui(mpz_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="b5936979-01aa-1cd8-20de-d6386368e234.htm">gmp_lib<span id="LSTFD548350_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFD548350_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_legendre(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="a248732b-c4be-7e9a-4207-0049371764ff.htm">gmp_lib<span id="LSTFD548350_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFD548350_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_si_kronecker(Int32, mpz_t)</a></div><div class="seeAlsoStyle"><a href="d9715b1a-6092-83e6-d7f3-6cfbb4adb143.htm">gmp_lib<span id="LSTFD548350_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFD548350_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_ui_kronecker(UInt32, mpz_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Number-Theoretic-Functions.html#Number-Theoretic-Functions">GNU MP - Number Theoretic Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpz_clear(a)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="54ba330f-67d3-fa30-2d5f-0480b7f4659c.htm">mpz_kronecker</a></div><div class="seeAlsoStyle"><a href="07613c31-7d00-9806-1676-55f8c5a997f8.htm">mpz_kronecker_ui</a></div><div class="seeAlsoStyle"><a href="b5936979-01aa-1cd8-20de-d6386368e234.htm">mpz_legendre</a></div><div class="seeAlsoStyle"><a href="a248732b-c4be-7e9a-4207-0049371764ff.htm">mpz_si_kronecker</a></div><div class="seeAlsoStyle"><a href="d9715b1a-6092-83e6-d7f3-6cfbb4adb143.htm">mpz_ui_kronecker</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Number_Theoretic_Functions">Number Theoretic Functions</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Number-Theoretic-Functions.html#Number-Theoretic-Functions">GNU MP - Number Theoretic Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -37,9 +37,9 @@
It is required that <span class="parameter">an</span> ≥ bn &gt; 0.
</p><p>
No overlapping between R and the input operands is allowed.
For A = B, use <a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">mpn_sec_sqr(mp_ptr, mp_ptr, mp_size_t, mp_ptr)</a> for optimal performance.
For A = B, use <a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">mpn_sec_sqr</a> for optimal performance.
</p><p>
This function requires scratch space of <a href="b07466c5-6249-332d-e89b-aeb3675970ff.htm">mpn_sec_mul_itch(mp_size_t, mp_size_t)</a>(<span class="parameter">an</span>, <span class="parameter">bn</span>)
This function requires scratch space of <a href="b07466c5-6249-332d-e89b-aeb3675970ff.htm">mpn_sec_mul_itch</a>(<span class="parameter">an</span>, <span class="parameter">bn</span>)
limbs to be passed in the tp parameter. The scratch space requirements are guaranteed to increase monotonously in the operand sizes.
</p></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Examples</span></div><div id="ID3RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDAABA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cs','1','4');return false;">C#</a></div><div id="ID0EDAABA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','vb','2','4');return false;">VB</a></div><div id="ID0EDAABA_tab3" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cpp','3','4');return false;">C++</a></div><div id="ID0EDAABA_tab4" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDAABA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDAABA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDAABA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="highlight-comment">// Create multi-precision operands, and expected result.</span>
mp_ptr ap = <span class="highlight-keyword">new</span> mp_ptr(<span class="highlight-keyword">new</span> <span class="highlight-keyword">uint</span>[] { <span class="highlight-number">0xffffffff</span>, <span class="highlight-number">0xffffffff</span> });
@ -75,4 +75,4 @@ gmp_lib.mpn_sec_mul(rp, ap, ap.Size, bp, bp.Size, tp)
Assert.IsTrue(rp.SequenceEqual(result))
<span class="highlight-comment">' Release unmanaged memory.</span>
gmp_lib.free(rp, ap, bp, tp, result)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="27902901-3a7d-b5b3-d3fc-3900f754bff1.htm">gmp_lib<span id="LSTBDC70553_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_cnd_add_n(mp_limb_t, mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="b82bad6a-f8f0-db53-a6d3-ed6002046257.htm">gmp_lib<span id="LSTBDC70553_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_cnd_sub_n(mp_limb_t, mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="1555cd52-98d2-6253-214a-d342a539bfb5.htm">gmp_lib<span id="LSTBDC70553_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_add_1(mp_ptr, mp_ptr, mp_size_t, mp_limb_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="9137a632-abd2-7963-1991-85e6d753bf13.htm">gmp_lib<span id="LSTBDC70553_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_sub_1(mp_ptr, mp_ptr, mp_size_t, mp_limb_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="f0985ccc-17da-8a0b-066c-53df9b1921a1.htm">gmp_lib<span id="LSTBDC70553_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_11?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_cnd_swap(mp_limb_t, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="b07466c5-6249-332d-e89b-aeb3675970ff.htm">gmp_lib<span id="LSTBDC70553_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_mul_itch(mp_size_t, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">gmp_lib<span id="LSTBDC70553_13"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_13?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_sqr(mp_ptr, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="a38b87c5-c6ac-fa68-6d58-c45793bf933e.htm">gmp_lib<span id="LSTBDC70553_14"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_14?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_powm(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_bitcnt_t, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="3588cf60-567a-6182-20e8-5e2836498f49.htm">gmp_lib<span id="LSTBDC70553_15"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_15?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_tabselect(mp_ptr, mp_ptr, mp_size_t, mp_size_t, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="6f1dca2b-39f4-3acd-71fb-4f1e5a0d04e6.htm">gmp_lib<span id="LSTBDC70553_16"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_16?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_div_qr(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="094ea390-8cc8-bac7-35c3-3616775736de.htm">gmp_lib<span id="LSTBDC70553_17"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_17?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_div_r(mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="62ffb793-b32f-e0dc-a399-f20fe708a803.htm">gmp_lib<span id="LSTBDC70553_18"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBDC70553_18?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_invert(mp_ptr, mp_ptr, mp_ptr, mp_size_t, mp_bitcnt_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.free(rp, ap, bp, tp, result)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="27902901-3a7d-b5b3-d3fc-3900f754bff1.htm">mpn_cnd_add_n</a></div><div class="seeAlsoStyle"><a href="b82bad6a-f8f0-db53-a6d3-ed6002046257.htm">mpn_cnd_sub_n</a></div><div class="seeAlsoStyle"><a href="1555cd52-98d2-6253-214a-d342a539bfb5.htm">mpn_sec_add_1</a></div><div class="seeAlsoStyle"><a href="9137a632-abd2-7963-1991-85e6d753bf13.htm">mpn_sec_sub_1</a></div><div class="seeAlsoStyle"><a href="f0985ccc-17da-8a0b-066c-53df9b1921a1.htm">mpn_cnd_swap</a></div><div class="seeAlsoStyle"><a href="b07466c5-6249-332d-e89b-aeb3675970ff.htm">mpn_sec_mul_itch</a></div><div class="seeAlsoStyle"><a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">mpn_sec_sqr</a></div><div class="seeAlsoStyle"><a href="a38b87c5-c6ac-fa68-6d58-c45793bf933e.htm">mpn_sec_powm</a></div><div class="seeAlsoStyle"><a href="3588cf60-567a-6182-20e8-5e2836498f49.htm">mpn_sec_tabselect</a></div><div class="seeAlsoStyle"><a href="6f1dca2b-39f4-3acd-71fb-4f1e5a0d04e6.htm">mpn_sec_div_qr</a></div><div class="seeAlsoStyle"><a href="094ea390-8cc8-bac7-35c3-3616775736de.htm">mpn_sec_div_r</a></div><div class="seeAlsoStyle"><a href="62ffb793-b32f-e0dc-a399-f20fe708a803.htm">mpn_sec_invert</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Low_level_functions_for_cryptography">Low-level functions for cryptography</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -40,4 +40,4 @@ gmp_lib.mpq_set_si(op1, <span class="highlight-number">1</span>, <span class="hi
Assert.IsTrue(gmp_lib.mpq_cmp_ui(op1, <span class="highlight-number">3</span>, <span class="highlight-number">6</span>UI) = <span class="highlight-number">0</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for op1.</span>
gmp_lib.mpq_clear(op1)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="3f29d5f4-13ae-cec8-ea75-6a76d00d10fc.htm">gmp_lib<span id="LST289F4C4F_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST289F4C4F_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_cmp(mpq_t, mpq_t)</a></div><div class="seeAlsoStyle"><a href="bc33b7de-0deb-669e-0bb7-6cd1090f4aea.htm">gmp_lib<span id="LST289F4C4F_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST289F4C4F_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_cmp_z(mpq_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="43cb2c87-9fab-eb9d-2f7a-140d72af7b15.htm">gmp_lib<span id="LST289F4C4F_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST289F4C4F_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_cmp_si(mpq_t, Int32, UInt32)</a></div><div class="seeAlsoStyle"><a href="1176cc4e-ffda-2993-1a4a-2e0c7ed24adb.htm">gmp_lib<span id="LST289F4C4F_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST289F4C4F_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_sgn(mpq_t)</a></div><div class="seeAlsoStyle"><a href="7828ce92-079b-da4d-aab2-1742209287fb.htm">gmp_lib<span id="LST289F4C4F_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST289F4C4F_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_equal(mpq_t, mpq_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Comparing-Rationals.html#Comparing-Rationals">GNU MP - Comparing Rationals</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpq_clear(op1)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="3f29d5f4-13ae-cec8-ea75-6a76d00d10fc.htm">mpq_cmp</a></div><div class="seeAlsoStyle"><a href="bc33b7de-0deb-669e-0bb7-6cd1090f4aea.htm">mpq_cmp_z</a></div><div class="seeAlsoStyle"><a href="43cb2c87-9fab-eb9d-2f7a-140d72af7b15.htm">mpq_cmp_si</a></div><div class="seeAlsoStyle"><a href="1176cc4e-ffda-2993-1a4a-2e0c7ed24adb.htm">mpq_sgn</a></div><div class="seeAlsoStyle"><a href="7828ce92-079b-da4d-aab2-1742209287fb.htm">mpq_equal</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Comparing_Rationals">Comparing Rationals</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Comparing-Rationals.html#Comparing-Rationals">GNU MP - Comparing Rationals</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

File diff suppressed because one or more lines are too long

View File

@ -21,7 +21,7 @@
The integer is written in a portable format, with 4 bytes of size information, and that many bytes of limbs.
Both the size and the limbs are written in decreasing significance order (i.e., in big-endian).
</p><p>
The output can be read with <a href="44097b06-123a-4c00-b17f-ab0c70ad78bb.htm">mpz_inp_raw(mpz_t, ptr<span id="LSTF0530466_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_5?cs=&lt;|vb=(Of |cpp=&lt;|fs=&lt;'|nu=(");</script>FILE<span id="LSTF0530466_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_6?cs=&gt;|vb=)|cpp=&gt;|fs=&gt;|nu=)");</script>)</a>.
The output can be read with <a href="44097b06-123a-4c00-b17f-ab0c70ad78bb.htm">mpz_inp_raw</a>.
</p><p>
The output of this can not be read by <span class="code">mpz_inp_raw</span> from GMP 1,
because of changes necessary for compatibility between 32-bit and 64-bit machines.
@ -75,4 +75,4 @@ Assert.IsTrue(r(<span class="highlight-number">0</span>) = <span class="highligh
System.IO.File.Delete(pathname)
<span class="highlight-comment">' Release unmanaged memory allocated for op.</span>
gmp_lib.mpz_clear(op)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="6f85986d-b6a0-435d-3675-c025ef70413d.htm">gmp_lib<span id="LSTF0530466_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_out_str(ptr<span id="LSTF0530466_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_8?cs=&lt;|vb=(Of |cpp=&lt;|fs=&lt;'|nu=(");</script>FILE<span id="LSTF0530466_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_9?cs=&gt;|vb=)|cpp=&gt;|fs=&gt;|nu=)");</script>, Int32, mpz_t)</a></div><div class="seeAlsoStyle"><a href="8b8d6ec1-3ae5-e6f3-f030-289abe5002d0.htm">gmp_lib<span id="LSTF0530466_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_inp_str(mpz_t, ptr<span id="LSTF0530466_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_11?cs=&lt;|vb=(Of |cpp=&lt;|fs=&lt;'|nu=(");</script>FILE<span id="LSTF0530466_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_12?cs=&gt;|vb=)|cpp=&gt;|fs=&gt;|nu=)");</script>, Int32)</a></div><div class="seeAlsoStyle"><a href="44097b06-123a-4c00-b17f-ab0c70ad78bb.htm">gmp_lib<span id="LSTF0530466_13"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_13?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_inp_raw(mpz_t, ptr<span id="LSTF0530466_14"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_14?cs=&lt;|vb=(Of |cpp=&lt;|fs=&lt;'|nu=(");</script>FILE<span id="LSTF0530466_15"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF0530466_15?cs=&gt;|vb=)|cpp=&gt;|fs=&gt;|nu=)");</script>)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/I_002fO-of-Integers.html#I_002fO-of-Integers">GNU MP - I/O of Integers</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpz_clear(op)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="6f85986d-b6a0-435d-3675-c025ef70413d.htm">mpz_out_str</a></div><div class="seeAlsoStyle"><a href="8b8d6ec1-3ae5-e6f3-f030-289abe5002d0.htm">mpz_inp_str</a></div><div class="seeAlsoStyle"><a href="44097b06-123a-4c00-b17f-ab0c70ad78bb.htm">mpz_inp_raw</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#IO_of_Integers">I/O of Integers</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/I_002fO-of-Integers.html#I_002fO-of-Integers">GNU MP - I/O of Integers</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -1,5 +1,5 @@
<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>mpf_t Implicit Conversion (String to mpf_t)</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="String to mpf_t conversion" /><meta name="Microsoft.Help.F1" content="Math.Gmp.Native.mpf_t.Implicit" /><meta name="Microsoft.Help.Id" content="M:Math.Gmp.Native.mpf_t.op_Implicit(System.String)~Math.Gmp.Native.mpf_t" /><meta name="Description" content="Converts a value to an value." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Math.Gmp.Native" /><meta name="file" content="058e477a-0126-b073-ee83-77ed89a58351" /><meta name="guid" content="058e477a-0126-b073-ee83-77ed89a58351" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">GMP Native Interface for .NET<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" title="GMP Native Interface for .NET" tocid="roottoc">GMP Native Interface for .NET</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" title="Math.Gmp.Native" tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm" title="mpf_t Class" tocid="37c88d6c-8d02-2330-ad77-f20fb73d1677">mpf_t Class</a></div><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="3ca44c9f-677e-d5fa-5414-399843506633.htm" title="mpf_t Type Conversions" tocid="3ca44c9f-677e-d5fa-5414-399843506633">mpf_t Type Conversions</a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="058e477a-0126-b073-ee83-77ed89a58351.htm" title="Implicit Conversion (String to mpf_t)" tocid="058e477a-0126-b073-ee83-77ed89a58351">Implicit Conversion (String to mpf_t)</a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="titleColumn">mpf_t <span id="LST8D1B3BFA_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8D1B3BFA_0?vb=Widening|nu=Implicit");</script> Conversion (String to mpf_t)</td></tr></table><span class="introStyle"></span> <div class="summary">
Converts a <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">String</a> value to an <a href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">mpf_t</a> value.
<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>mpf_t Implicit Conversion (String to mpf_t)</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="String to mpf_t conversion" /><meta name="Microsoft.Help.F1" content="Math.Gmp.Native.mpf_t.Implicit" /><meta name="Microsoft.Help.Id" content="M:Math.Gmp.Native.mpf_t.op_Implicit(System.String)~Math.Gmp.Native.mpf_t" /><meta name="Description" content="Converts a string value to an mpf_t value." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Math.Gmp.Native" /><meta name="file" content="058e477a-0126-b073-ee83-77ed89a58351" /><meta name="guid" content="058e477a-0126-b073-ee83-77ed89a58351" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">GMP Native Interface for .NET<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" title="GMP Native Interface for .NET" tocid="roottoc">GMP Native Interface for .NET</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" title="Math.Gmp.Native" tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm" title="mpf_t Class" tocid="37c88d6c-8d02-2330-ad77-f20fb73d1677">mpf_t Class</a></div><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="3ca44c9f-677e-d5fa-5414-399843506633.htm" title="mpf_t Type Conversions" tocid="3ca44c9f-677e-d5fa-5414-399843506633">mpf_t Type Conversions</a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="058e477a-0126-b073-ee83-77ed89a58351.htm" title="Implicit Conversion (String to mpf_t)" tocid="058e477a-0126-b073-ee83-77ed89a58351">Implicit Conversion (String to mpf_t)</a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="titleColumn">mpf_t <span id="LST8D1B3BFA_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8D1B3BFA_0?vb=Widening|nu=Implicit");</script> Conversion (String to mpf_t)</td></tr></table><span class="introStyle"></span> <div class="summary">
Converts a <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">string</a> value to an <a href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">mpf_t</a> value.
</div><p> </p>
<strong>Namespace:</strong>
 <a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native</a><br />
@ -10,7 +10,7 @@
<span class="parameter">value</span> <span class="keyword">As</span> <span class="identifier">String</span>
) <span class="keyword">As</span> <span class="identifier">mpf_t</span></pre></div><div id="ID0EDCA_code_Div3" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">static</span> <span class="keyword">implicit operator</span> <span class="identifier">mpf_t</span>^ (
<span class="identifier">String</span>^ <span class="parameter">value</span>
)</pre></div><div id="ID0EDCA_code_Div4" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="message">F# does not support the declaration of new casting operators.</span></pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">value</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">System<span id="LST8D1B3BFA_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8D1B3BFA_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>String</a><br />A <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">String</a> value.</dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">mpf_t</a><br />An <a href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">mpf_t</a> value.</div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p>
)</pre></div><div id="ID0EDCA_code_Div4" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="message">F# does not support the declaration of new casting operators.</span></pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">value</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">System<span id="LST8D1B3BFA_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8D1B3BFA_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>String</a><br />A <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">string</a> value.</dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">mpf_t</a><br />An <a href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">mpf_t</a> value.</div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p>
Base is assumed to be 10 unless the first character of the string is <span class="code">B</span>
followed by the base <span class="code">2</span> to <span class="code">62</span> or <span class="code">-62</span> to <span class="code">-2</span> followed
by a space and then the floating-point number.

File diff suppressed because one or more lines are too long

View File

@ -25,4 +25,4 @@ gmp_lib.mpz_init_set_si(op1, <span class="highlight-number">-63</span>);
Assert.IsTrue(gmp_lib.mpz_cmpabs_ui(op1, <span class="highlight-number">70</span>U) &lt; <span class="highlight-number">0</span>);
<span class="highlight-comment">// Release unmanaged memory allocated for op1.</span>
gmp_lib.mpz_clear(op1);</pre></div><div id="ID0EDAABA_code_Div2" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"></pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="eea958f4-5951-38f2-05ba-3870cefb3842.htm">gmp_lib<span id="LST97E5D1C3_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST97E5D1C3_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmp(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="bb37470f-5f40-4f6d-01d9-4e40446782a3.htm">gmp_lib<span id="LST97E5D1C3_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST97E5D1C3_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmp_d(mpz_t, Double)</a></div><div class="seeAlsoStyle"><a href="2e55f6fd-0083-fc85-0d42-65e472376dbe.htm">gmp_lib<span id="LST97E5D1C3_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST97E5D1C3_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmp_si(mpz_t, Int32)</a></div><div class="seeAlsoStyle"><a href="bfe022c5-95d3-45d7-0c6f-97167a9a0af2.htm">gmp_lib<span id="LST97E5D1C3_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST97E5D1C3_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmp_ui(mpz_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="3e06d348-8a15-691d-5889-ab3f1a4c9f73.htm">gmp_lib<span id="LST97E5D1C3_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST97E5D1C3_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmpabs(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="011efd01-e7f0-47d8-7d1e-77888d96f0d4.htm">gmp_lib<span id="LST97E5D1C3_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST97E5D1C3_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cmpabs_d(mpz_t, Double)</a></div><div class="seeAlsoStyle"><a href="86b2033c-26c3-3889-9025-b2a638910a86.htm">gmp_lib<span id="LST97E5D1C3_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST97E5D1C3_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_sgn(mpz_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Integer-Comparisons.html#Integer-Comparisons">GNU MP - Integer Comparisons</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpz_clear(op1);</pre></div><div id="ID0EDAABA_code_Div2" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"></pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="eea958f4-5951-38f2-05ba-3870cefb3842.htm">mpz_cmp</a></div><div class="seeAlsoStyle"><a href="bb37470f-5f40-4f6d-01d9-4e40446782a3.htm">mpz_cmp_d</a></div><div class="seeAlsoStyle"><a href="2e55f6fd-0083-fc85-0d42-65e472376dbe.htm">mpz_cmp_si</a></div><div class="seeAlsoStyle"><a href="bfe022c5-95d3-45d7-0c6f-97167a9a0af2.htm">mpz_cmp_ui</a></div><div class="seeAlsoStyle"><a href="3e06d348-8a15-691d-5889-ab3f1a4c9f73.htm">mpz_cmpabs</a></div><div class="seeAlsoStyle"><a href="011efd01-e7f0-47d8-7d1e-77888d96f0d4.htm">mpz_cmpabs_d</a></div><div class="seeAlsoStyle"><a href="86b2033c-26c3-3889-9025-b2a638910a86.htm">mpz_sgn</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Integer_Comparisons">Integer Comparisons</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Integer-Comparisons.html#Integer-Comparisons">GNU MP - Integer Comparisons</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -39,4 +39,4 @@ gmp_lib.mpf_set_ui(x, <span class="highlight-number">100</span>UI)
Assert.IsTrue(gmp_lib.mpf_get_d(x) = <span class="highlight-number">100.0</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for x.</span>
gmp_lib.mpf_clear(x)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="3a025035-e715-0a3d-8d2d-6011430c9463.htm">gmp_lib<span id="LSTFCF82749_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFCF82749_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_set(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="f059f8e4-dfc8-79fe-6455-42e227ccbc2e.htm">gmp_lib<span id="LSTFCF82749_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFCF82749_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_set_si(mpf_t, Int32)</a></div><div class="seeAlsoStyle"><a href="1d0c5734-9f0d-ec6b-c540-4379f832b0ca.htm">gmp_lib<span id="LSTFCF82749_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFCF82749_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_set_d(mpf_t, Double)</a></div><div class="seeAlsoStyle"><a href="d60489f8-91f8-ea00-d29c-a52449e712da.htm">gmp_lib<span id="LSTFCF82749_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFCF82749_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_set_z(mpf_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="bd669b1e-a941-2e35-7c29-29a5b5ff5e3a.htm">gmp_lib<span id="LSTFCF82749_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFCF82749_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_set_q(mpf_t, mpq_t)</a></div><div class="seeAlsoStyle"><a href="823b356e-0731-c9ca-0b37-660b6eb9ee7c.htm">gmp_lib<span id="LSTFCF82749_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFCF82749_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_set_str(mpf_t, char_ptr, Int32)</a></div><div class="seeAlsoStyle"><a href="b77c0292-518a-64d8-4b4e-0dd3c0cb801f.htm">gmp_lib<span id="LSTFCF82749_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTFCF82749_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_swap(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Assigning-Floats.html#Assigning-Floats">GNU MP - Assigning Floats</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpf_clear(x)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="3a025035-e715-0a3d-8d2d-6011430c9463.htm">mpf_set</a></div><div class="seeAlsoStyle"><a href="f059f8e4-dfc8-79fe-6455-42e227ccbc2e.htm">mpf_set_si</a></div><div class="seeAlsoStyle"><a href="1d0c5734-9f0d-ec6b-c540-4379f832b0ca.htm">mpf_set_d</a></div><div class="seeAlsoStyle"><a href="d60489f8-91f8-ea00-d29c-a52449e712da.htm">mpf_set_z</a></div><div class="seeAlsoStyle"><a href="bd669b1e-a941-2e35-7c29-29a5b5ff5e3a.htm">mpf_set_q</a></div><div class="seeAlsoStyle"><a href="823b356e-0731-c9ca-0b37-660b6eb9ee7c.htm">mpf_set_str</a></div><div class="seeAlsoStyle"><a href="b77c0292-518a-64d8-4b4e-0dd3c0cb801f.htm">mpf_swap</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Assigning_Floats">Assigning Floats</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Assigning-Floats.html#Assigning-Floats">GNU MP - Assigning Floats</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -19,10 +19,10 @@
Returns a value indicating whether this instance is equal to a specified <span class="selflink">char_ptr</span> value.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="84492195-83e7-7738-6678-c299663dd02c.htm">GetHashCode</a></td><td><div class="summary">
Returns the hash code for this instance.
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/y3509fc2" target="_blank">ValueType<span id="LST90034EB8_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST90034EB8_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>GetHashCode<span id="LST90034EB8_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST90034EB8_2?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">Gets the type of the current instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="42a15292-978c-35c6-bfa3-9d5acf725ca7.htm">ToIntPtr</a></td><td><div class="summary">
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/y3509fc2" target="_blank">ValueType<span id="LST90034EB8_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST90034EB8_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>GetHashCode<span id="LST90034EB8_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST90034EB8_2?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">Gets the <a href="http://msdn2.microsoft.com/en-us/library/42892f65" target="_blank">Type</a> of the current instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="42a15292-978c-35c6-bfa3-9d5acf725ca7.htm">ToIntPtr</a></td><td><div class="summary">
Gets pointer to string in unmanaged memory.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="1eedfa7e-7135-6b5d-e395-9a6b90fab236.htm">ToString</a></td><td><div class="summary">
Gets the .NET <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">String</a> equivalent of the unmanaged string.
Gets the .NET <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">string</a> equivalent of the unmanaged string.
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/wb77sz3h" target="_blank">ValueType<span id="LST90034EB8_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST90034EB8_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>ToString<span id="LST90034EB8_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST90034EB8_4?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr></table><a href="#PageHeader">Top</a></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Operators</span></div><div id="ID4RBSection" class="collapsibleSection"><table class="members" id="operatorList"><tr><th class="iconColumn">
 
</th><th>Name</th><th>Description</th></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/puboperator.gif" alt="Public operator" title="Public operator" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="a4f47fa4-8285-638d-c094-bc9e249a49a0.htm">Equality</a></td><td><div class="summary">

File diff suppressed because one or more lines are too long

View File

@ -30,4 +30,4 @@
</p><p>
The reallocate function parameter <span class="parameter">old_size</span> is passed for convenience, but of course it can be ignored
if not needed by an implementation. The default functions using malloc and friends for instance dont use it.
</p></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="2c68671c-cd5c-e2ec-52a2-65b0ca31c3d1.htm">gmp_lib<span id="LST5C17244B_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5C17244B_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>allocate(size_t)</a></div><div class="seeAlsoStyle"><a href="19ccd2e3-05f1-d4f4-79b7-28b4f26e5768.htm">gmp_lib<span id="LST5C17244B_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST5C17244B_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>free(void_ptr, size_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Custom-Allocation.html#Custom-Allocation">GNU MP - Custom Allocation</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
</p></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="2c68671c-cd5c-e2ec-52a2-65b0ca31c3d1.htm">allocate</a></div><div class="seeAlsoStyle"><a href="92160da3-b1af-e005-cb05-e3fb4dd524d8.htm">free</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Custom_Allocation">Custom Allocation</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Custom-Allocation.html#Custom-Allocation">GNU MP - Custom Allocation</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -19,9 +19,9 @@
<span class="parameter">r1n</span> : <span class="identifier">mp_size_t</span> <span class="keyword">-&gt;</span> <span class="keyword">unit</span>
</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">r1p</span></dt><dd>Type: <a href="4609ac5e-5cf9-cd20-2fa9-8040101c165c.htm">Math.Gmp.Native<span id="LST9F5A2197_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST9F5A2197_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mp_ptr</a><br />The result integer.</dd><dt><span class="parameter">r1n</span></dt><dd>Type: <a href="4b58a584-7a0e-b600-18fa-ebd493861eb3.htm">Math.Gmp.Native<span id="LST9F5A2197_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST9F5A2197_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mp_size_t</a><br />The number of limbs of <span class="parameter">r1p</span>.</dd></dl></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p>
The most significant limb is always non-zero.
<a href="6d4f993a-1fd6-9db2-c0a7-0f3926863565.htm">mpn_random(mp_ptr, mp_size_t)</a> generates uniformly distributed limb data,
<span class="selflink">mpn_random2(mp_ptr, mp_size_t)</span> generates long strings of zeros and ones in the binary representation.
</p><p><span class="selflink">mpn_random2(mp_ptr, mp_size_t)</span> is intended for testing the correctness of the <span class="code">mpn</span> routines.
<a href="6d4f993a-1fd6-9db2-c0a7-0f3926863565.htm">mpn_random</a> generates uniformly distributed limb data,
<span class="selflink">mpn_random2</span> generates long strings of zeros and ones in the binary representation.
</p><p><span class="selflink">mpn_random2</span> is intended for testing the correctness of the <span class="code">mpn</span> routines.
</p></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Examples</span></div><div id="ID3RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDAABA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cs','1','4');return false;">C#</a></div><div id="ID0EDAABA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','vb','2','4');return false;">VB</a></div><div id="ID0EDAABA_tab3" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cpp','3','4');return false;">C++</a></div><div id="ID0EDAABA_tab4" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDAABA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDAABA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDAABA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="highlight-comment">// Create multi-precision operand.</span>
mp_ptr r1p = <span class="highlight-keyword">new</span> mp_ptr(<span class="highlight-keyword">new</span> <span class="highlight-keyword">uint</span>[<span class="highlight-number">2</span>]);
@ -36,4 +36,4 @@ gmp_lib.free(r1p);</pre></div><div id="ID0EDAABA_code_Div2" class="codeSnippetCo
gmp_lib.mpn_random2(r1p, <span class="highlight-keyword">If</span>(gmp_lib.mp_bytes_per_limb = <span class="highlight-number">4</span>, <span class="highlight-number">2</span>, <span class="highlight-number">1</span>))
<span class="highlight-comment">' Release unmanaged memory.</span>
gmp_lib.free(r1p)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="6d4f993a-1fd6-9db2-c0a7-0f3926863565.htm">gmp_lib<span id="LST9F5A2197_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST9F5A2197_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_random(mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.free(r1p)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="6d4f993a-1fd6-9db2-c0a7-0f3926863565.htm">mpn_random</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Low_level_Functions">Low-level Functions</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -19,7 +19,7 @@
<span class="parameter">b</span> : <span class="identifier">uint32</span> <span class="keyword">-&gt;</span> <span class="identifier">int</span>
</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">a</span></dt><dd>Type: <a href="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">Math.Gmp.Native<span id="LST8B4828AC_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8B4828AC_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_t</a><br />The first operand integer.</dd><dt><span class="parameter">b</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/ctys3981" target="_blank">System<span id="LST8B4828AC_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8B4828AC_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>UInt32</a><br />The second operand integer.</dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="http://msdn2.microsoft.com/en-us/library/td2s409d" target="_blank">Int32</a><br />The Jacobi symbol (<span class="parameter">a</span>/<span class="parameter">b</span>) with the Kronecker extension (<span class="parameter">a</span>/2) = (2/<span class="parameter">a</span>) when <span class="parameter">a</span> odd, or (<span class="parameter">a</span>/2) = 0 when <span class="parameter">a</span> even.</div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p>
When <span class="parameter">b</span> is odd the Jacobi symbol and Kronecker symbol are identical,
so <span class="selflink">mpz_kronecker_ui(mpz_t, UInt32)</span>, etc. can be used for mixed precision Jacobi symbols too.
so <span class="selflink">mpz_kronecker_ui</span>, etc. can be used for mixed precision Jacobi symbols too.
</p></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Examples</span></div><div id="ID3RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDAABA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cs','1','4');return false;">C#</a></div><div id="ID0EDAABA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','vb','2','4');return false;">VB</a></div><div id="ID0EDAABA_tab3" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cpp','3','4');return false;">C++</a></div><div id="ID0EDAABA_tab4" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDAABA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDAABA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDAABA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="highlight-comment">// Create, initialize, and set the value of a to 15.</span>
mpz_t a = <span class="highlight-keyword">new</span> mpz_t();
gmp_lib.mpz_init_set_ui(a, <span class="highlight-number">15</span>U);
@ -36,4 +36,4 @@ gmp_lib.mpz_init_set_ui(a, <span class="highlight-number">15</span>UI)
Assert.IsTrue(gmp_lib.mpz_kronecker_ui(a, <span class="highlight-number">4</span>UI) = <span class="highlight-number">1</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for a.</span>
gmp_lib.mpz_clear(a)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="54ba330f-67d3-fa30-2d5f-0480b7f4659c.htm">gmp_lib<span id="LST8B4828AC_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8B4828AC_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_kronecker(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="0252e04b-b8fc-5a06-e1e2-a0cafbb44296.htm">gmp_lib<span id="LST8B4828AC_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8B4828AC_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_kronecker_si(mpz_t, Int32)</a></div><div class="seeAlsoStyle"><a href="b5936979-01aa-1cd8-20de-d6386368e234.htm">gmp_lib<span id="LST8B4828AC_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8B4828AC_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_legendre(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="a248732b-c4be-7e9a-4207-0049371764ff.htm">gmp_lib<span id="LST8B4828AC_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8B4828AC_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_si_kronecker(Int32, mpz_t)</a></div><div class="seeAlsoStyle"><a href="d9715b1a-6092-83e6-d7f3-6cfbb4adb143.htm">gmp_lib<span id="LST8B4828AC_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8B4828AC_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_ui_kronecker(UInt32, mpz_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Number-Theoretic-Functions.html#Number-Theoretic-Functions">GNU MP - Number Theoretic Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpz_clear(a)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="54ba330f-67d3-fa30-2d5f-0480b7f4659c.htm">mpz_kronecker</a></div><div class="seeAlsoStyle"><a href="0252e04b-b8fc-5a06-e1e2-a0cafbb44296.htm">mpz_kronecker_si</a></div><div class="seeAlsoStyle"><a href="b5936979-01aa-1cd8-20de-d6386368e234.htm">mpz_legendre</a></div><div class="seeAlsoStyle"><a href="a248732b-c4be-7e9a-4207-0049371764ff.htm">mpz_si_kronecker</a></div><div class="seeAlsoStyle"><a href="d9715b1a-6092-83e6-d7f3-6cfbb4adb143.htm">mpz_ui_kronecker</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Number_Theoretic_Functions">Number Theoretic Functions</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Number-Theoretic-Functions.html#Number-Theoretic-Functions">GNU MP - Number Theoretic Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -6,6 +6,6 @@
Returns a value indicating whether this instance is equal to a specified <a href="d9761bfb-1882-59d2-e89b-c6460141f9a6.htm">size_t</a> value.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="6feeab0d-dc91-818f-ef60-2434ff3a1146.htm">GetHashCode</a></td><td><div class="summary">
Returns the hash code for this instance.
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/y3509fc2" target="_blank">ValueType<span id="LST56399A53_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST56399A53_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>GetHashCode<span id="LST56399A53_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST56399A53_2?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">Gets the type of the current instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="e465d040-0d35-f8c8-51db-c56b3d14b4c8.htm">ToString</a></td><td><div class="summary">
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/y3509fc2" target="_blank">ValueType<span id="LST56399A53_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST56399A53_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>GetHashCode<span id="LST56399A53_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST56399A53_2?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">Gets the <a href="http://msdn2.microsoft.com/en-us/library/42892f65" target="_blank">Type</a> of the current instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="e465d040-0d35-f8c8-51db-c56b3d14b4c8.htm">ToString</a></td><td><div class="summary">
Gets the string representation of the <a href="d9761bfb-1882-59d2-e89b-c6460141f9a6.htm">size_t</a>.
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/wb77sz3h" target="_blank">ValueType<span id="LST56399A53_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST56399A53_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>ToString<span id="LST56399A53_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST56399A53_4?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr></table><a href="#PageHeader">Top</a></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID1RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="d9761bfb-1882-59d2-e89b-c6460141f9a6.htm">size_t Structure</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -38,7 +38,7 @@
No other operand overlapping is allowed.
The entire space occupied by N is overwritten.
</p><p>
This function requires scratch space of <a href="1cefa5f6-adc3-30a6-b3bd-cb6a7543cb00.htm">mpn_sec_div_r_itch(mp_size_t, mp_size_t)</a>(<span class="parameter">nn</span>, <span class="parameter">dn</span>)
This function requires scratch space of <a href="1cefa5f6-adc3-30a6-b3bd-cb6a7543cb00.htm">mpn_sec_div_r_itch</a>(<span class="parameter">nn</span>, <span class="parameter">dn</span>)
limbs to be passed in the <span class="parameter">tp</span> parameter.
</p></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Examples</span></div><div id="ID3RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDAABA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cs','1','4');return false;">C#</a></div><div id="ID0EDAABA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','vb','2','4');return false;">VB</a></div><div id="ID0EDAABA_tab3" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cpp','3','4');return false;">C++</a></div><div id="ID0EDAABA_tab4" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDAABA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDAABA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDAABA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="highlight-comment">// Create multi-precision operands, and expected result.</span>
mp_ptr np = <span class="highlight-keyword">new</span> mp_ptr(<span class="highlight-keyword">new</span> <span class="highlight-keyword">uint</span>[] { <span class="highlight-number">0xffffffff</span>, <span class="highlight-number">0x0000ffff</span> });
@ -70,4 +70,4 @@ gmp_lib.mpn_sec_div_r(np, np.Size, dp, dp.Size, tp)
Assert.IsTrue(np(<span class="highlight-number">0</span>) = <span class="highlight-number">3</span>)
<span class="highlight-comment">' Release unmanaged memory.</span>
gmp_lib.free(np, dp, tp)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="27902901-3a7d-b5b3-d3fc-3900f754bff1.htm">gmp_lib<span id="LST93CC0F81_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_cnd_add_n(mp_limb_t, mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="b82bad6a-f8f0-db53-a6d3-ed6002046257.htm">gmp_lib<span id="LST93CC0F81_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_cnd_sub_n(mp_limb_t, mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="1555cd52-98d2-6253-214a-d342a539bfb5.htm">gmp_lib<span id="LST93CC0F81_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_add_1(mp_ptr, mp_ptr, mp_size_t, mp_limb_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="9137a632-abd2-7963-1991-85e6d753bf13.htm">gmp_lib<span id="LST93CC0F81_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_sub_1(mp_ptr, mp_ptr, mp_size_t, mp_limb_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="f0985ccc-17da-8a0b-066c-53df9b1921a1.htm">gmp_lib<span id="LST93CC0F81_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_cnd_swap(mp_limb_t, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="028e92d4-3699-77ff-e8da-9ff4c367f5b3.htm">gmp_lib<span id="LST93CC0F81_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_11?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_mul(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">gmp_lib<span id="LST93CC0F81_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_sqr(mp_ptr, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="a38b87c5-c6ac-fa68-6d58-c45793bf933e.htm">gmp_lib<span id="LST93CC0F81_13"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_13?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_powm(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_bitcnt_t, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="3588cf60-567a-6182-20e8-5e2836498f49.htm">gmp_lib<span id="LST93CC0F81_14"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_14?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_tabselect(mp_ptr, mp_ptr, mp_size_t, mp_size_t, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="6f1dca2b-39f4-3acd-71fb-4f1e5a0d04e6.htm">gmp_lib<span id="LST93CC0F81_15"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_15?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_div_qr(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="1cefa5f6-adc3-30a6-b3bd-cb6a7543cb00.htm">gmp_lib<span id="LST93CC0F81_16"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_16?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_div_r_itch(mp_size_t, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="62ffb793-b32f-e0dc-a399-f20fe708a803.htm">gmp_lib<span id="LST93CC0F81_17"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST93CC0F81_17?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_invert(mp_ptr, mp_ptr, mp_ptr, mp_size_t, mp_bitcnt_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.free(np, dp, tp)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="27902901-3a7d-b5b3-d3fc-3900f754bff1.htm">mpn_cnd_add_n</a></div><div class="seeAlsoStyle"><a href="b82bad6a-f8f0-db53-a6d3-ed6002046257.htm">mpn_cnd_sub_n</a></div><div class="seeAlsoStyle"><a href="1555cd52-98d2-6253-214a-d342a539bfb5.htm">mpn_sec_add_1</a></div><div class="seeAlsoStyle"><a href="9137a632-abd2-7963-1991-85e6d753bf13.htm">mpn_sec_sub_1</a></div><div class="seeAlsoStyle"><a href="f0985ccc-17da-8a0b-066c-53df9b1921a1.htm">mpn_cnd_swap</a></div><div class="seeAlsoStyle"><a href="028e92d4-3699-77ff-e8da-9ff4c367f5b3.htm">mpn_sec_mul</a></div><div class="seeAlsoStyle"><a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">mpn_sec_sqr</a></div><div class="seeAlsoStyle"><a href="a38b87c5-c6ac-fa68-6d58-c45793bf933e.htm">mpn_sec_powm</a></div><div class="seeAlsoStyle"><a href="3588cf60-567a-6182-20e8-5e2836498f49.htm">mpn_sec_tabselect</a></div><div class="seeAlsoStyle"><a href="6f1dca2b-39f4-3acd-71fb-4f1e5a0d04e6.htm">mpn_sec_div_qr</a></div><div class="seeAlsoStyle"><a href="1cefa5f6-adc3-30a6-b3bd-cb6a7543cb00.htm">mpn_sec_div_r_itch</a></div><div class="seeAlsoStyle"><a href="62ffb793-b32f-e0dc-a399-f20fe708a803.htm">mpn_sec_invert</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Low_level_functions_for_cryptography">Low-level functions for cryptography</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -6,6 +6,6 @@
Returns a value indicating whether this instance is equal to a specified <a href="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm">mp_bitcnt_t</a> value.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="540dc183-f6ab-a0bb-d6ef-a08f5a464b78.htm">GetHashCode</a></td><td><div class="summary">
Returns the hash code for this instance.
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/y3509fc2" target="_blank">ValueType<span id="LST75569836_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST75569836_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>GetHashCode<span id="LST75569836_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST75569836_2?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">Gets the type of the current instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34.htm">ToString</a></td><td><div class="summary">
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/y3509fc2" target="_blank">ValueType<span id="LST75569836_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST75569836_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>GetHashCode<span id="LST75569836_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST75569836_2?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">Gets the <a href="http://msdn2.microsoft.com/en-us/library/42892f65" target="_blank">Type</a> of the current instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34.htm">ToString</a></td><td><div class="summary">
Gets the string representation of the <a href="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm">mp_bitcnt_t</a>.
</div> (Overrides <a href="http://msdn2.microsoft.com/en-us/library/wb77sz3h" target="_blank">ValueType<span id="LST75569836_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST75569836_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>ToString<span id="LST75569836_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST75569836_4?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr></table><a href="#PageHeader">Top</a></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID1RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm">mp_bitcnt_t Structure</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>va_list Methods</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="va_list class, methods" /><meta name="Microsoft.Help.Id" content="Methods.T:Math.Gmp.Native.va_list" /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Math.Gmp.Native" /><meta name="file" content="0af0c5f7-045d-d0b0-fe24-f20f44b030dc" /><meta name="guid" content="0af0c5f7-045d-d0b0-fe24-f20f44b030dc" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">GMP Native Interface for .NET<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" title="GMP Native Interface for .NET" tocid="roottoc">GMP Native Interface for .NET</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" title="Math.Gmp.Native" tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="4f2255b8-b87a-7b1b-286a-abb7293059d7.htm" title="va_list Class" tocid="4f2255b8-b87a-7b1b-286a-abb7293059d7">va_list Class</a></div><div class="toclevel1 current" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="0af0c5f7-045d-d0b0-fe24-f20f44b030dc.htm" title="va_list Methods" tocid="0af0c5f7-045d-d0b0-fe24-f20f44b030dc">va_list Methods</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="ddbcfc40-f5e5-a37b-6a8c-76e08932025a.htm" title="RetrieveArgumentValues Method " tocid="ddbcfc40-f5e5-a37b-6a8c-76e08932025a">RetrieveArgumentValues Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="13e99044-0242-c6b6-6a32-e9abb01ceaaa.htm" title="ToIntPtr Method " tocid="13e99044-0242-c6b6-6a32-e9abb01ceaaa">ToIntPtr Method </a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="titleColumn">va_list Methods</td></tr></table><span class="introStyle"></span> <p>The <a href="4f2255b8-b87a-7b1b-286a-abb7293059d7.htm">va_list</a> type exposes the following members.</p><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID0RB')" onkeypress="SectionExpandCollapse_CheckKey('ID0RB', event)" tabindex="0"><img id="ID0RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Methods</span></div><div id="ID0RBSection" class="collapsibleSection"><table class="members" id="methodList"><tr><th class="iconColumn">
 
</th><th>Name</th><th>Description</th></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/bsc2ak47" target="_blank">Equals</a></td><td><div class="summary">Determines whether the specified <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a> is equal to the current <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protmethod.gif" alt="Protected method" title="Protected method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/4k87zsw7" target="_blank">Finalize</a></td><td><div class="summary">Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/zdee4b3y" target="_blank">GetHashCode</a></td><td><div class="summary">Serves as a hash function for a particular type. </div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">Gets the type of the current instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protmethod.gif" alt="Protected method" title="Protected method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/57ctke0a" target="_blank">MemberwiseClone</a></td><td><div class="summary">Creates a shallow copy of the current <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="ddbcfc40-f5e5-a37b-6a8c-76e08932025a.htm">RetrieveArgumentValues</a></td><td><div class="summary">
</th><th>Name</th><th>Description</th></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/bsc2ak47" target="_blank">Equals</a></td><td><div class="summary">Determines whether the specified <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a> is equal to the current <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protmethod.gif" alt="Protected method" title="Protected method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/4k87zsw7" target="_blank">Finalize</a></td><td><div class="summary">Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/zdee4b3y" target="_blank">GetHashCode</a></td><td><div class="summary">Serves as a hash function for a particular type. </div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">Gets the <a href="http://msdn2.microsoft.com/en-us/library/42892f65" target="_blank">Type</a> of the current instance.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protmethod.gif" alt="Protected method" title="Protected method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/57ctke0a" target="_blank">MemberwiseClone</a></td><td><div class="summary">Creates a shallow copy of the current <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="ddbcfc40-f5e5-a37b-6a8c-76e08932025a.htm">RetrieveArgumentValues</a></td><td><div class="summary">
Retrieves argument values from unmanaged memory.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="13e99044-0242-c6b6-6a32-e9abb01ceaaa.htm">ToIntPtr</a></td><td><div class="summary">
Return the pointer to the list of arguments in unmanaged memory.

File diff suppressed because one or more lines are too long

View File

@ -62,4 +62,4 @@ gmp_lib.mpz_ior(rop, op1, op2)
Assert.IsTrue(gmp_lib.mpz_get_si(rop) = <span class="highlight-number">127</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for rop, op1, and op2.</span>
gmp_lib.mpz_clears(rop, op1, op2, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="3e5268ed-796b-2880-93a3-8d17143f99b1.htm">gmp_lib<span id="LSTF1D6C62D_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_and(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="fd4c285a-e2e1-f8ba-97b3-08d4ae6a2ebf.htm">gmp_lib<span id="LSTF1D6C62D_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_xor(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="635ddf01-9c52-0d37-202e-c560b895fb7d.htm">gmp_lib<span id="LSTF1D6C62D_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_com(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="84bf95e4-d9d0-4ffe-f836-3650342de962.htm">gmp_lib<span id="LSTF1D6C62D_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_popcount(mpz_t)</a></div><div class="seeAlsoStyle"><a href="4dfb8bd5-8a6f-6919-7aa9-8c060d42b5d7.htm">gmp_lib<span id="LSTF1D6C62D_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_hamdist(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="3e36be2b-14ed-eb7b-0546-af6d49e983fa.htm">gmp_lib<span id="LSTF1D6C62D_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_scan0(mpz_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="480d1d15-b561-ac8f-b12a-f27ba075b3f2.htm">gmp_lib<span id="LSTF1D6C62D_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_scan1(mpz_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="f0caf821-320b-1a8b-87ff-84fcbdfd5801.htm">gmp_lib<span id="LSTF1D6C62D_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_11?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_setbit(mpz_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="8812c658-675a-b564-9159-2383971747b1.htm">gmp_lib<span id="LSTF1D6C62D_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_clrbit(mpz_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="4a959468-7670-9303-a5e7-3f1de8f17a62.htm">gmp_lib<span id="LSTF1D6C62D_13"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_13?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_combit(mpz_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="20a476ea-9a38-9ef3-1e23-da2b2eba69a9.htm">gmp_lib<span id="LSTF1D6C62D_14"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTF1D6C62D_14?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_tstbit(mpz_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Integer-Logic-and-Bit-Fiddling.html#Integer-Logic-and-Bit-Fiddling">GNU MP - Integer Logic and Bit Fiddling</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpz_clears(rop, op1, op2, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="3e5268ed-796b-2880-93a3-8d17143f99b1.htm">mpz_and</a></div><div class="seeAlsoStyle"><a href="fd4c285a-e2e1-f8ba-97b3-08d4ae6a2ebf.htm">mpz_xor</a></div><div class="seeAlsoStyle"><a href="635ddf01-9c52-0d37-202e-c560b895fb7d.htm">mpz_com</a></div><div class="seeAlsoStyle"><a href="84bf95e4-d9d0-4ffe-f836-3650342de962.htm">mpz_popcount</a></div><div class="seeAlsoStyle"><a href="4dfb8bd5-8a6f-6919-7aa9-8c060d42b5d7.htm">mpz_hamdist</a></div><div class="seeAlsoStyle"><a href="3e36be2b-14ed-eb7b-0546-af6d49e983fa.htm">mpz_scan0</a></div><div class="seeAlsoStyle"><a href="480d1d15-b561-ac8f-b12a-f27ba075b3f2.htm">mpz_scan1</a></div><div class="seeAlsoStyle"><a href="f0caf821-320b-1a8b-87ff-84fcbdfd5801.htm">mpz_setbit</a></div><div class="seeAlsoStyle"><a href="8812c658-675a-b564-9159-2383971747b1.htm">mpz_clrbit</a></div><div class="seeAlsoStyle"><a href="4a959468-7670-9303-a5e7-3f1de8f17a62.htm">mpz_combit</a></div><div class="seeAlsoStyle"><a href="20a476ea-9a38-9ef3-1e23-da2b2eba69a9.htm">mpz_tstbit</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Integer_Logic_and_Bit_Fiddling">Integer Logic and Bit Fiddling</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Integer-Logic-and-Bit-Fiddling.html#Integer-Logic-and-Bit-Fiddling">GNU MP - Integer Logic and Bit Fiddling</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -23,11 +23,11 @@
<span class="parameter">n</span> : <span class="identifier">uint32</span> <span class="keyword">-&gt;</span> <span class="keyword">unit</span>
</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">ln</span></dt><dd>Type: <a href="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">Math.Gmp.Native<span id="LSTB1CE6AEB_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTB1CE6AEB_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_t</a><br />The L[<span class="parameter">n</span>] result.</dd><dt><span class="parameter">lnsub1</span></dt><dd>Type: <a href="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">Math.Gmp.Native<span id="LSTB1CE6AEB_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTB1CE6AEB_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_t</a><br />The L[<span class="parameter">n</span> - 1] result.</dd><dt><span class="parameter">n</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/ctys3981" target="_blank">System<span id="LSTB1CE6AEB_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTB1CE6AEB_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>UInt32</a><br />The operand integer.</dd></dl></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p>
This function is designed for calculating isolated Lucas numbers.
When a sequence of values is wanted its best to start with <span class="selflink">mpz_lucnum2_ui(mpz_t, mpz_t, UInt32)</span>
When a sequence of values is wanted its best to start with <span class="selflink">mpz_lucnum2_ui</span>
and iterate the defining L[n + 1] = L[n] + L[n - 1] or similar.
</p><p>
The Fibonacci numbers and Lucas numbers are related sequences, so its never necessary to call both
<a href="c0f8ab02-55db-8a6b-705d-6fa700d54545.htm">mpz_fib2_ui(mpz_t, mpz_t, UInt32)</a> and <span class="selflink">mpz_lucnum2_ui(mpz_t, mpz_t, UInt32)</span>.
<a href="c0f8ab02-55db-8a6b-705d-6fa700d54545.htm">mpz_fib2_ui</a> and <span class="selflink">mpz_lucnum2_ui</span>.
The formulas for going from Fibonacci to Lucas can be found in
<a href="https://gmplib.org/manual/Lucas-Numbers-Algorithm.html#Lucas-Numbers-Algorithm">GNU MP - Lucas Numbers Algorithm</a>,
the reverse is straightforward too.
@ -57,4 +57,4 @@ Assert.IsTrue(gmp_lib.mpz_get_si(lnsub1) = <span class="highlight-number">47</sp
Assert.IsTrue(gmp_lib.mpz_get_si(ln) = <span class="highlight-number">76</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for ln and lnsub1.</span>
gmp_lib.mpz_clears(ln, lnsub1, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="a48d50bf-0432-7feb-cc41-d6bf70f78e58.htm">gmp_lib<span id="LSTB1CE6AEB_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTB1CE6AEB_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_lucnum_ui(mpz_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Number-Theoretic-Functions.html#Number-Theoretic-Functions">GNU MP - Number Theoretic Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpz_clears(ln, lnsub1, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="a48d50bf-0432-7feb-cc41-d6bf70f78e58.htm">mpz_lucnum_ui</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Number_Theoretic_Functions">Number Theoretic Functions</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Number-Theoretic-Functions.html#Number-Theoretic-Functions">GNU MP - Number Theoretic Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -49,4 +49,4 @@ Assert.IsTrue(gmp_lib.mpz_fdiv_q_ui(q, n, <span class="highlight-number">3</span
Assert.IsTrue(gmp_lib.mpz_get_si(q) = <span class="highlight-number">3333</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for n and q.</span>
gmp_lib.mpz_clears(n, q, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="7f89c102-d1eb-2dab-0e6e-061893309c4b.htm">gmp_lib<span id="LST251751E8_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_cdiv_qr(mpz_t, mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="5dfc0ea9-a81f-bda9-356c-034395ba3c9c.htm">gmp_lib<span id="LST251751E8_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_fdiv_r(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="d9ab5220-69aa-8e5d-8d15-375eb27149ad.htm">gmp_lib<span id="LST251751E8_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_fdiv_qr(mpz_t, mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="772064e8-3ec1-840e-c79c-78f478321b6c.htm">gmp_lib<span id="LST251751E8_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_fdiv_r_ui(mpz_t, mpz_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="452a9316-f421-a65c-a9ba-254b201dc431.htm">gmp_lib<span id="LST251751E8_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_fdiv_qr_ui(mpz_t, mpz_t, mpz_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="8435af1d-e5e4-3e55-1024-449ff7b56ad4.htm">gmp_lib<span id="LST251751E8_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_fdiv_ui(mpz_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="f56c5489-8c01-a687-fec8-a5f443738701.htm">gmp_lib<span id="LST251751E8_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_fdiv_q_2exp(mpz_t, mpz_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="b0f120a7-a215-fbff-1138-bac5df8d741c.htm">gmp_lib<span id="LST251751E8_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_11?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_fdiv_r_2exp(mpz_t, mpz_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="2ff1eb0a-f399-2ad2-f7d1-3fb51dceac10.htm">gmp_lib<span id="LST251751E8_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_congruent_p(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="2ddc32dc-4ee3-18e9-dd3d-7e64c3304e1e.htm">gmp_lib<span id="LST251751E8_13"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_13?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_divexact(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="4bafc7fe-d2a8-7cf2-b9b8-c296550b4ef2.htm">gmp_lib<span id="LST251751E8_14"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_14?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_divisible_p(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="8d141ae9-4a01-bdc9-caf3-8daba3321ac1.htm">gmp_lib<span id="LST251751E8_15"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_15?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_mod(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="387ec1dd-15b3-4cc9-862a-e3f0a8e2cb78.htm">gmp_lib<span id="LST251751E8_16"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST251751E8_16?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_tdiv_qr(mpz_t, mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Integer-Division.html#Integer-Division">GNU MP - Integer Division</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpz_clears(n, q, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="7f89c102-d1eb-2dab-0e6e-061893309c4b.htm">mpz_cdiv_qr</a></div><div class="seeAlsoStyle"><a href="5dfc0ea9-a81f-bda9-356c-034395ba3c9c.htm">mpz_fdiv_r</a></div><div class="seeAlsoStyle"><a href="d9ab5220-69aa-8e5d-8d15-375eb27149ad.htm">mpz_fdiv_qr</a></div><div class="seeAlsoStyle"><a href="772064e8-3ec1-840e-c79c-78f478321b6c.htm">mpz_fdiv_r_ui</a></div><div class="seeAlsoStyle"><a href="452a9316-f421-a65c-a9ba-254b201dc431.htm">mpz_fdiv_qr_ui</a></div><div class="seeAlsoStyle"><a href="8435af1d-e5e4-3e55-1024-449ff7b56ad4.htm">mpz_fdiv_ui</a></div><div class="seeAlsoStyle"><a href="f56c5489-8c01-a687-fec8-a5f443738701.htm">mpz_fdiv_q_2exp</a></div><div class="seeAlsoStyle"><a href="b0f120a7-a215-fbff-1138-bac5df8d741c.htm">mpz_fdiv_r_2exp</a></div><div class="seeAlsoStyle"><a href="2ff1eb0a-f399-2ad2-f7d1-3fb51dceac10.htm">mpz_congruent_p</a></div><div class="seeAlsoStyle"><a href="2ddc32dc-4ee3-18e9-dd3d-7e64c3304e1e.htm">mpz_divexact</a></div><div class="seeAlsoStyle"><a href="4bafc7fe-d2a8-7cf2-b9b8-c296550b4ef2.htm">mpz_divisible_p</a></div><div class="seeAlsoStyle"><a href="8d141ae9-4a01-bdc9-caf3-8daba3321ac1.htm">mpz_mod</a></div><div class="seeAlsoStyle"><a href="387ec1dd-15b3-4cc9-862a-e3f0a8e2cb78.htm">mpz_tdiv_qr</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Integer_Division">Integer Division</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Integer-Division.html#Integer-Division">GNU MP - Integer Division</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -1,4 +1,4 @@
<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>mp_bitcnt_t.ToString Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="ToString method" /><meta name="System.Keywords" content="mp_bitcnt_t.ToString method" /><meta name="Microsoft.Help.F1" content="Math.Gmp.Native.mp_bitcnt_t.ToString" /><meta name="Microsoft.Help.Id" content="M:Math.Gmp.Native.mp_bitcnt_t.ToString" /><meta name="Description" content="Gets the string representation of the ." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Math.Gmp.Native" /><meta name="file" content="0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34" /><meta name="guid" content="0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">GMP Native Interface for .NET<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" title="GMP Native Interface for .NET" tocid="roottoc">GMP Native Interface for .NET</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" title="Math.Gmp.Native" tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm" title="mp_bitcnt_t Structure" tocid="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3">mp_bitcnt_t Structure</a></div><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="0968b601-ff25-497d-c2eb-28487c3d29cf.htm" title="mp_bitcnt_t Methods" tocid="0968b601-ff25-497d-c2eb-28487c3d29cf">mp_bitcnt_t Methods</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="cfedc4a1-b264-82a8-cf48-a6416e4afce7.htm" title="Equals Method " tocid="cfedc4a1-b264-82a8-cf48-a6416e4afce7">Equals Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="540dc183-f6ab-a0bb-d6ef-a08f5a464b78.htm" title="GetHashCode Method " tocid="540dc183-f6ab-a0bb-d6ef-a08f5a464b78">GetHashCode Method </a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34.htm" title="ToString Method " tocid="0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34">ToString Method </a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="titleColumn">mp_bitcnt_t<span id="LSTBA996DB3_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBA996DB3_0?cpp=::|nu=.");</script>ToString Method </td></tr></table><span class="introStyle"></span> <div class="summary">
<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>mp_bitcnt_t.ToString Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="ToString method" /><meta name="System.Keywords" content="mp_bitcnt_t.ToString method" /><meta name="Microsoft.Help.F1" content="Math.Gmp.Native.mp_bitcnt_t.ToString" /><meta name="Microsoft.Help.Id" content="M:Math.Gmp.Native.mp_bitcnt_t.ToString" /><meta name="Description" content="Gets the string representation of the mp_bitcnt_t." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Math.Gmp.Native" /><meta name="file" content="0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34" /><meta name="guid" content="0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">GMP Native Interface for .NET<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" title="GMP Native Interface for .NET" tocid="roottoc">GMP Native Interface for .NET</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" title="Math.Gmp.Native" tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm" title="mp_bitcnt_t Structure" tocid="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3">mp_bitcnt_t Structure</a></div><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="0968b601-ff25-497d-c2eb-28487c3d29cf.htm" title="mp_bitcnt_t Methods" tocid="0968b601-ff25-497d-c2eb-28487c3d29cf">mp_bitcnt_t Methods</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="cfedc4a1-b264-82a8-cf48-a6416e4afce7.htm" title="Equals Method " tocid="cfedc4a1-b264-82a8-cf48-a6416e4afce7">Equals Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="540dc183-f6ab-a0bb-d6ef-a08f5a464b78.htm" title="GetHashCode Method " tocid="540dc183-f6ab-a0bb-d6ef-a08f5a464b78">GetHashCode Method </a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34.htm" title="ToString Method " tocid="0dd7a5d2-ab07-87dc-79d2-d9b361bc0a34">ToString Method </a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="titleColumn">mp_bitcnt_t<span id="LSTBA996DB3_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTBA996DB3_0?cpp=::|nu=.");</script>ToString Method </td></tr></table><span class="introStyle"></span> <div class="summary">
Gets the string representation of the <a href="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm">mp_bitcnt_t</a>.
</div><p> </p>
<strong>Namespace:</strong>

View File

@ -14,9 +14,9 @@
)</pre></div><div id="ID0EDCA_code_Div4" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">static</span> <span class="keyword">member</span> <span class="identifier">mpf_init</span> :
<span class="parameter">x</span> : <span class="identifier">mpf_t</span> <span class="keyword">-&gt;</span> <span class="keyword">unit</span>
</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">x</span></dt><dd>Type: <a href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">Math.Gmp.Native<span id="LST8CFCCA5C_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_t</a><br />The operand float.</dd></dl></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p>
Normally, a variable should be initialized once only or at least be cleared, using <a href="3a2a17ed-a64c-8716-7f65-18c661a5279f.htm">mpf_clear(mpf_t)</a>,
Normally, a variable should be initialized once only or at least be cleared, using <a href="3a2a17ed-a64c-8716-7f65-18c661a5279f.htm">mpf_clear</a>,
between initializations. The precision of <span class="parameter">x</span> is undefined unless a default precision has
already been established by a call to <a href="9e93d02e-f5c7-1a6f-68fe-a33d793a93e2.htm">mpf_set_default_prec(mp_bitcnt_t)</a>.
already been established by a call to <a href="9e93d02e-f5c7-1a6f-68fe-a33d793a93e2.htm">mpf_set_default_prec</a>.
</p></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Examples</span></div><div id="ID3RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDAABA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cs','1','4');return false;">C#</a></div><div id="ID0EDAABA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','vb','2','4');return false;">VB</a></div><div id="ID0EDAABA_tab3" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cpp','3','4');return false;">C++</a></div><div id="ID0EDAABA_tab4" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDAABA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDAABA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDAABA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="highlight-comment">// Set default precision to 64 bits.</span>
gmp_lib.mpf_set_default_prec(<span class="highlight-number">64</span>U);
@ -40,4 +40,4 @@ gmp_lib.mpf_init(x)
Assert.IsTrue(gmp_lib.mpf_get_d(x) = <span class="highlight-number">0.0</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for x.</span>
gmp_lib.mpf_clear(x)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="9e93d02e-f5c7-1a6f-68fe-a33d793a93e2.htm">gmp_lib<span id="LST8CFCCA5C_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_set_default_prec(mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="1ca4ec7e-b5d1-3b51-8341-5a345990e62d.htm">gmp_lib<span id="LST8CFCCA5C_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_get_default_prec<span id="LST8CFCCA5C_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_4?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a></div><div class="seeAlsoStyle"><a href="98083eac-9993-41b2-4943-678785fce712.htm">gmp_lib<span id="LST8CFCCA5C_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_init2(mpf_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="018278a0-148f-c898-5bd0-42aae4ae0069.htm">gmp_lib<span id="LST8CFCCA5C_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_inits(<span id="LST8CFCCA5C_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_7?cpp=array&lt;");</script>mpf_t<span id="LST8CFCCA5C_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_8?cpp=&gt;|cs=[]|vb=()|nu=[]|fs=[]");</script>)</a></div><div class="seeAlsoStyle"><a href="3a2a17ed-a64c-8716-7f65-18c661a5279f.htm">gmp_lib<span id="LST8CFCCA5C_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_clear(mpf_t)</a></div><div class="seeAlsoStyle"><a href="bfb87570-3b2e-079a-1528-3746424bbdef.htm">gmp_lib<span id="LST8CFCCA5C_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_clears(<span id="LST8CFCCA5C_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_11?cpp=array&lt;");</script>mpf_t<span id="LST8CFCCA5C_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_12?cpp=&gt;|cs=[]|vb=()|nu=[]|fs=[]");</script>)</a></div><div class="seeAlsoStyle"><a href="96c4a09e-3f83-00ab-30d0-78a82764b0ce.htm">gmp_lib<span id="LST8CFCCA5C_13"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_13?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_get_prec(mpf_t)</a></div><div class="seeAlsoStyle"><a href="438e6843-fc7b-4e6f-9ac0-d97a2773b032.htm">gmp_lib<span id="LST8CFCCA5C_14"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_14?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_set_prec(mpf_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="b456f637-83f4-9d4f-18c5-052d77fbf981.htm">gmp_lib<span id="LST8CFCCA5C_15"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8CFCCA5C_15?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_set_prec_raw(mpf_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Initializing-Floats.html#Initializing-Floats">GNU MP - Initializing Floats</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpf_clear(x)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="9e93d02e-f5c7-1a6f-68fe-a33d793a93e2.htm">mpf_set_default_prec</a></div><div class="seeAlsoStyle"><a href="1ca4ec7e-b5d1-3b51-8341-5a345990e62d.htm">mpf_get_default_prec</a></div><div class="seeAlsoStyle"><a href="98083eac-9993-41b2-4943-678785fce712.htm">mpf_init2</a></div><div class="seeAlsoStyle"><a href="018278a0-148f-c898-5bd0-42aae4ae0069.htm">mpf_inits</a></div><div class="seeAlsoStyle"><a href="3a2a17ed-a64c-8716-7f65-18c661a5279f.htm">mpf_clear</a></div><div class="seeAlsoStyle"><a href="bfb87570-3b2e-079a-1528-3746424bbdef.htm">mpf_clears</a></div><div class="seeAlsoStyle"><a href="96c4a09e-3f83-00ab-30d0-78a82764b0ce.htm">mpf_get_prec</a></div><div class="seeAlsoStyle"><a href="438e6843-fc7b-4e6f-9ac0-d97a2773b032.htm">mpf_set_prec</a></div><div class="seeAlsoStyle"><a href="b456f637-83f4-9d4f-18c5-052d77fbf981.htm">mpf_set_prec_raw</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Initializing_Floats">Initializing Floats</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Initializing-Floats.html#Initializing-Floats">GNU MP - Initializing Floats</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -51,4 +51,4 @@ gmp_lib.mpn_xor_n(rp, s1p, s2p, s1p.Size)
Assert.IsTrue(rp.SequenceEqual(result))
<span class="highlight-comment">' Release unmanaged memory.</span>
gmp_lib.free(rp, s1p, s2p, result)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="69ffabc9-a19c-6590-d918-fbf0710aff82.htm">gmp_lib<span id="LST386F51BE_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST386F51BE_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_and_n(mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="b8b6d088-3330-5073-dc17-18ea23b0fc14.htm">gmp_lib<span id="LST386F51BE_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST386F51BE_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_andn_n(mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="6f0c915a-514a-fce0-957b-50180f4b79a7.htm">gmp_lib<span id="LST386F51BE_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST386F51BE_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_com(mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="f4c54e3b-1c09-d01d-eb28-b7b05cf6fa70.htm">gmp_lib<span id="LST386F51BE_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST386F51BE_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_ior_n(mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="1b76ffd8-d7f4-5309-3b10-e7e0c418706a.htm">gmp_lib<span id="LST386F51BE_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST386F51BE_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_iorn_n(mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="a7d1fd40-0415-b4af-1787-706d245ff96e.htm">gmp_lib<span id="LST386F51BE_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST386F51BE_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_nand_n(mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="c7d8bbe3-23cd-3460-be24-3a3ac3b28cf4.htm">gmp_lib<span id="LST386F51BE_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST386F51BE_11?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_nior_n(mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="25d623c3-ee22-4b83-1161-3f98ce698012.htm">gmp_lib<span id="LST386F51BE_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST386F51BE_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_xnor_n(mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.free(rp, s1p, s2p, result)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="69ffabc9-a19c-6590-d918-fbf0710aff82.htm">mpn_and_n</a></div><div class="seeAlsoStyle"><a href="b8b6d088-3330-5073-dc17-18ea23b0fc14.htm">mpn_andn_n</a></div><div class="seeAlsoStyle"><a href="6f0c915a-514a-fce0-957b-50180f4b79a7.htm">mpn_com</a></div><div class="seeAlsoStyle"><a href="f4c54e3b-1c09-d01d-eb28-b7b05cf6fa70.htm">mpn_ior_n</a></div><div class="seeAlsoStyle"><a href="1b76ffd8-d7f4-5309-3b10-e7e0c418706a.htm">mpn_iorn_n</a></div><div class="seeAlsoStyle"><a href="a7d1fd40-0415-b4af-1787-706d245ff96e.htm">mpn_nand_n</a></div><div class="seeAlsoStyle"><a href="c7d8bbe3-23cd-3460-be24-3a3ac3b28cf4.htm">mpn_nior_n</a></div><div class="seeAlsoStyle"><a href="25d623c3-ee22-4b83-1161-3f98ce698012.htm">mpn_xnor_n</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Low_level_Functions">Low-level Functions</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -31,7 +31,7 @@
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="21fdbc76-a0de-1f3a-195f-a5ae0cb3d1da.htm">gmp_randinit_lc_2exp</a></td><td><div class="summary">
Initialize <span class="parameter">state</span> with a linear congruential algorithm X = (<span class="parameter">a</span>X + <span class="parameter">c</span>) mod 2^<span class="parameter">m2exp</span>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="f209112e-311a-88cd-becf-33bc3787f91d.htm">gmp_randinit_lc_2exp_size</a></td><td><div class="summary">
Initialize <span class="parameter">state</span> for a linear congruential algorithm as per <a href="21fdbc76-a0de-1f3a-195f-a5ae0cb3d1da.htm">gmp_randinit_lc_2exp(gmp_randstate_t, mpz_t, UInt32, mp_bitcnt_t)</a>.
Initialize <span class="parameter">state</span> for a linear congruential algorithm as per <a href="21fdbc76-a0de-1f3a-195f-a5ae0cb3d1da.htm">gmp_randinit_lc_2exp</a>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="b3ed0ded-086a-41f1-6051-d08afa338da8.htm">gmp_randinit_mt</a></td><td><div class="summary">
Initialize <span class="parameter">state</span> for a Mersenne Twister algorithm.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="494fa261-4044-f216-7041-a55d95a26f5b.htm">gmp_randinit_set</a></td><td><div class="summary">
@ -115,7 +115,7 @@
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="f7584918-b77f-3524-eea2-04134a2c3ba6.htm">mpf_floor</a></td><td><div class="summary">
Set <span class="parameter">rop</span> to <span class="parameter">op</span> rounded to the next lower integer.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="648fa405-45d3-506a-f6be-72642e8a7f32.htm">mpf_get_d</a></td><td><div class="summary">
Convert <span class="parameter">op</span> to a <a href="http://msdn2.microsoft.com/en-us/library/643eft0t" target="_blank">Double</a>, truncating if necessary (i.e. rounding towards zero).
Convert <span class="parameter">op</span> to a <a href="http://msdn2.microsoft.com/en-us/library/643eft0t" target="_blank">double</a>, truncating if necessary (i.e. rounding towards zero).
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="e1edc21e-74a0-b44c-216b-bad204b5a48a.htm">mpf_get_d_2exp</a></td><td><div class="summary">
Convert op to a double, truncating if necessary (i.e. rounding towards zero), and with an exponent returned separately.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="1ca4ec7e-b5d1-3b51-8341-5a345990e62d.htm">mpf_get_default_prec</a></td><td><div class="summary">
@ -223,9 +223,9 @@
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="4fcc5434-e328-6730-f46e-bd0823ec7560.htm">mpn_cmp</a></td><td><div class="summary">
Compare {<span class="parameter">s1p</span>, <span class="parameter">n</span>} and {<span class="parameter">s2p</span>, <span class="parameter">n</span>}.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="27902901-3a7d-b5b3-d3fc-3900f754bff1.htm">mpn_cnd_add_n</a></td><td><div class="summary">
If <span class="parameter">cnd</span> is non-zero, it produces the same result as a regular <a href="339edb73-5781-7d73-97b6-9b73451a698f.htm">mpn_add_n(mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a>, and if <span class="parameter">cnd</span> is zero, it copies {<span class="parameter">s1p</span>, <span class="parameter">n</span>} to the result area and returns zero.
If <span class="parameter">cnd</span> is non-zero, it produces the same result as a regular <a href="339edb73-5781-7d73-97b6-9b73451a698f.htm">mpn_add_n</a>, and if <span class="parameter">cnd</span> is zero, it copies {<span class="parameter">s1p</span>, <span class="parameter">n</span>} to the result area and returns zero.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="b82bad6a-f8f0-db53-a6d3-ed6002046257.htm">mpn_cnd_sub_n</a></td><td><div class="summary">
If <span class="parameter">cnd</span> is non-zero, it produces the same result as a regular <a href="b104184e-cf49-dbdb-764a-9dee5cf7b2fd.htm">mpn_sub_n(mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a>, and if <span class="parameter">cnd</span> is zero, it copies {<span class="parameter">s1p</span>, <span class="parameter">n</span>} to the result area and returns zero.
If <span class="parameter">cnd</span> is non-zero, it produces the same result as a regular <a href="b104184e-cf49-dbdb-764a-9dee5cf7b2fd.htm">mpn_sub_n</a>, and if <span class="parameter">cnd</span> is zero, it copies {<span class="parameter">s1p</span>, <span class="parameter">n</span>} to the result area and returns zero.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="f0985ccc-17da-8a0b-066c-53df9b1921a1.htm">mpn_cnd_swap</a></td><td><div class="summary">
If <span class="parameter">cnd</span> is non-zero, swaps the contents of the areas {<span class="parameter">ap</span>, <span class="parameter">n</span>} and {<span class="parameter">bp</span>, <span class="parameter">n</span>}. Otherwise, the areas are left unmodified.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="6f0c915a-514a-fce0-957b-50180f4b79a7.htm">mpn_com</a></td><td><div class="summary">
@ -295,35 +295,35 @@
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="1555cd52-98d2-6253-214a-d342a539bfb5.htm">mpn_sec_add_1</a></td><td><div class="summary">
Set R to A + b, where R = {<span class="parameter">rp</span>, <span class="parameter">n</span>}, A = {<span class="parameter">ap</span>, <span class="parameter">n</span>}, and <span class="parameter">b</span> is a single limb.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="87bbc39f-b11a-76d9-f31d-f5dcf365a67d.htm">mpn_sec_add_1_itch</a></td><td><div class="summary">
Return the scratch space in number of limbs required by the function <a href="1555cd52-98d2-6253-214a-d342a539bfb5.htm">mpn_sec_add_1(mp_ptr, mp_ptr, mp_size_t, mp_limb_t, mp_ptr)</a>.
Return the scratch space in number of limbs required by the function <a href="1555cd52-98d2-6253-214a-d342a539bfb5.htm">mpn_sec_add_1</a>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="6f1dca2b-39f4-3acd-71fb-4f1e5a0d04e6.htm">mpn_sec_div_qr</a></td><td><div class="summary">
Set Q to the truncated quotient N / D and R to N modulo D, where N = {<span class="parameter">np</span>, <span class="parameter">nn</span>}, D = {<span class="parameter">dp</span>, <span class="parameter">dn</span>}, Qs most significant limb is the function return value and the remaining limbs are {<span class="parameter">qp</span>, <span class="parameter">nn</span> - <span class="parameter">dn</span>}, and R = {<span class="parameter">np</span>, <span class="parameter">dn</span>}.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="b9e1a8f8-5156-ca69-337b-e67c2fd851f7.htm">mpn_sec_div_qr_itch</a></td><td><div class="summary">
Return the scratch space in number of limbs required by the function <a href="6f1dca2b-39f4-3acd-71fb-4f1e5a0d04e6.htm">mpn_sec_div_qr(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr)</a>.
Return the scratch space in number of limbs required by the function <a href="6f1dca2b-39f4-3acd-71fb-4f1e5a0d04e6.htm">mpn_sec_div_qr</a>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="094ea390-8cc8-bac7-35c3-3616775736de.htm">mpn_sec_div_r</a></td><td><div class="summary">
Set R to N modulo D, where N = {<span class="parameter">np</span>, <span class="parameter">nn</span>}, D = {<span class="parameter">dp</span>, <span class="parameter">dn</span>}, and R = {<span class="parameter">np</span>, <span class="parameter">dn</span>}.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="1cefa5f6-adc3-30a6-b3bd-cb6a7543cb00.htm">mpn_sec_div_r_itch</a></td><td><div class="summary">
Return the scratch space in number of limbs required by the function <a href="094ea390-8cc8-bac7-35c3-3616775736de.htm">mpn_sec_div_r(mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr)</a>.
Return the scratch space in number of limbs required by the function <a href="094ea390-8cc8-bac7-35c3-3616775736de.htm">mpn_sec_div_r</a>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="62ffb793-b32f-e0dc-a399-f20fe708a803.htm">mpn_sec_invert</a></td><td><div class="summary">
Set R to the inverse of A modulo M, where R = {<span class="parameter">rp</span>, <span class="parameter">n</span>}, A = {<span class="parameter">ap</span>, <span class="parameter">n</span>}, and M = {<span class="parameter">mp</span>, <span class="parameter">n</span>}. This functions interface is preliminary.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="ec24a122-714e-5b6f-9872-95fd5fda54ea.htm">mpn_sec_invert_itch</a></td><td><div class="summary">
Return the scratch space in number of limbs required by the function <a href="62ffb793-b32f-e0dc-a399-f20fe708a803.htm">mpn_sec_invert(mp_ptr, mp_ptr, mp_ptr, mp_size_t, mp_bitcnt_t, mp_ptr)</a>.
Return the scratch space in number of limbs required by the function <a href="62ffb793-b32f-e0dc-a399-f20fe708a803.htm">mpn_sec_invert</a>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="028e92d4-3699-77ff-e8da-9ff4c367f5b3.htm">mpn_sec_mul</a></td><td><div class="summary">
Set R to A * B, where A = {<span class="parameter">ap</span>, <span class="parameter">an</span>}, B = {<span class="parameter">bp</span>, <span class="parameter">bn</span>}, and R = {<span class="parameter">rp</span>, <span class="parameter">an</span> + <span class="parameter">bn</span>}.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="b07466c5-6249-332d-e89b-aeb3675970ff.htm">mpn_sec_mul_itch</a></td><td><div class="summary">
Return the scratch space in number of limbs required by the function <a href="028e92d4-3699-77ff-e8da-9ff4c367f5b3.htm">mpn_sec_mul(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr)</a>.
Return the scratch space in number of limbs required by the function <a href="028e92d4-3699-77ff-e8da-9ff4c367f5b3.htm">mpn_sec_mul</a>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="a38b87c5-c6ac-fa68-6d58-c45793bf933e.htm">mpn_sec_powm</a></td><td><div class="summary">
Set R to (B^E) modulo M, where R = {<span class="parameter">rp</span>, <span class="parameter">n</span>}, M = {<span class="parameter">mp</span>, <span class="parameter">n</span>}, and E = {<span class="parameter">ep</span>, ceil(<span class="parameter">enb</span> / <a href="f88c76a8-118a-5cbd-0df1-e30adcacb8ae.htm">mp_bits_per_limb</a>)}.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="96652cce-b8f1-0b9e-8434-19cf9bb3eb29.htm">mpn_sec_powm_itch</a></td><td><div class="summary">
Return the scratch space in number of limbs required by the function <a href="a38b87c5-c6ac-fa68-6d58-c45793bf933e.htm">mpn_sec_powm(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_bitcnt_t, mp_ptr, mp_size_t, mp_ptr)</a>.
Return the scratch space in number of limbs required by the function <a href="a38b87c5-c6ac-fa68-6d58-c45793bf933e.htm">mpn_sec_powm</a>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">mpn_sec_sqr</a></td><td><div class="summary">
Set R to A^2, where A = {<span class="parameter">ap</span>, <span class="parameter">an</span>}, and R = {<span class="parameter">rp</span>, 2 * <span class="parameter">an</span>}.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="1ba86b5b-8ace-b6ee-99c5-32a8d7648519.htm">mpn_sec_sqr_itch</a></td><td><div class="summary">
Return the scratch space in number of limbs required by the function <a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">mpn_sec_sqr(mp_ptr, mp_ptr, mp_size_t, mp_ptr)</a>.
Return the scratch space in number of limbs required by the function <a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">mpn_sec_sqr</a>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="9137a632-abd2-7963-1991-85e6d753bf13.htm">mpn_sec_sub_1</a></td><td><div class="summary">
Set R to A - b, where R = {<span class="parameter">rp</span>, <span class="parameter">n</span>}, A = {<span class="parameter">ap</span>, <span class="parameter">n</span>}, and <span class="parameter">b</span> is a single limb.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="098c8787-2069-5d1e-a2f9-1f78bdcd60a9.htm">mpn_sec_sub_1_itch</a></td><td><div class="summary">
Return the scratch space in number of limbs required by the function <a href="9137a632-abd2-7963-1991-85e6d753bf13.htm">mpn_sec_sub_1(mp_ptr, mp_ptr, mp_size_t, mp_limb_t, mp_ptr)</a>.
Return the scratch space in number of limbs required by the function <a href="9137a632-abd2-7963-1991-85e6d753bf13.htm">mpn_sec_sub_1</a>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="3588cf60-567a-6182-20e8-5e2836498f49.htm">mpn_sec_tabselect</a></td><td><div class="summary">
Select entry <span class="parameter">which</span> from table <span class="parameter">tab</span>, which has <span class="parameter">nents</span> entries, each <span class="parameter">n</span> limbs. Store the selected entry at <span class="parameter">rp</span>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="9a68645a-d8d6-f4c1-f706-0dc217f9809a.htm">mpn_set_str</a></td><td><div class="summary">
@ -379,7 +379,7 @@
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="7828ce92-079b-da4d-aab2-1742209287fb.htm">mpq_equal</a></td><td><div class="summary">
Return non-zero if <span class="parameter">op1</span> and <span class="parameter">op2</span> are equal, zero if they are non-equal.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="f88b40d4-3da9-e2c7-4c4c-1ad868778075.htm">mpq_get_d</a></td><td><div class="summary">
Convert <span class="parameter">op</span> to a <a href="http://msdn2.microsoft.com/en-us/library/643eft0t" target="_blank">Double</a>, truncating if necessary (i.e. rounding towards zero).
Convert <span class="parameter">op</span> to a <a href="http://msdn2.microsoft.com/en-us/library/643eft0t" target="_blank">double</a>, truncating if necessary (i.e. rounding towards zero).
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="ae9e468d-e9ce-db55-1964-433829dfa476.htm">mpq_get_den</a></td><td><div class="summary">
Set <span class="parameter">denominator</span> to the denominator of <span class="parameter">rational</span>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="4f98333c-76a2-db46-cbba-97785a449450.htm">mpq_get_num</a></td><td><div class="summary">
@ -577,7 +577,7 @@
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="9cbc8594-a202-86fd-f4e8-22635ba952b5.htm">mpz_init_set_si</a></td><td><div class="summary">
Initialize <span class="parameter">rop</span> with limb space and set the initial numeric value from <span class="parameter">op</span>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="d5af3442-ab5b-08e2-9398-0b6f04506c16.htm">mpz_init_set_str</a></td><td><div class="summary">
Initialize <span class="parameter">rop</span> and set its value like <a href="6a3819df-abc1-ceb1-a5c7-87a879977b8c.htm">mpz_set_str(mpz_t, char_ptr, Int32)</a>.
Initialize <span class="parameter">rop</span> and set its value like <a href="6a3819df-abc1-ceb1-a5c7-87a879977b8c.htm">mpz_set_str</a>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="7da3b40f-ae2c-63c5-0157-9b51d54cf6cb.htm">mpz_init_set_ui</a></td><td><div class="summary">
Initialize <span class="parameter">rop</span> with limb space and set the initial numeric value from <span class="parameter">op</span>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="5cd3a242-93b7-49c5-b9c9-1dca02ed4662.htm">mpz_init2</a></td><td><div class="summary">
@ -585,7 +585,7 @@
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="de0b7cf7-1826-55f3-379d-41a6ef2d0991.htm">mpz_inits</a></td><td><div class="summary">
Initialize a NULL-terminated list of <a href="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">mpz_t</a> variables, and set their values to 0.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="44097b06-123a-4c00-b17f-ab0c70ad78bb.htm">mpz_inp_raw</a></td><td><div class="summary">
Input from stdio stream <span class="parameter">stream</span> in the format written by <a href="053b54b6-f646-f0aa-ddaf-00c494a6d5ef.htm">mpz_out_raw(ptr<span id="LST11CFFADD_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST11CFFADD_11?cs=&lt;|vb=(Of |cpp=&lt;|fs=&lt;'|nu=(");</script>FILE<span id="LST11CFFADD_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST11CFFADD_12?cs=&gt;|vb=)|cpp=&gt;|fs=&gt;|nu=)");</script>, mpz_t)</a>, and put the result in <span class="parameter">rop</span>.
Input from stdio stream <span class="parameter">stream</span> in the format written by <a href="053b54b6-f646-f0aa-ddaf-00c494a6d5ef.htm">mpz_out_raw</a>, and put the result in <span class="parameter">rop</span>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="8b8d6ec1-3ae5-e6f3-f030-289abe5002d0.htm">mpz_inp_str</a></td><td><div class="summary">
Input a possibly white-space preceded string in base <span class="parameter">base</span> from stdio stream <span class="parameter">stream</span>, and put the read integer in <span class="parameter">rop</span>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="e3072efb-05a9-947c-5532-6d806c157e4a.htm">mpz_invert</a></td><td><div class="summary">
@ -709,7 +709,7 @@
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="1e1204c7-2d33-c9d1-4f4e-c36215f5ebed.htm">mpz_sqrt</a></td><td><div class="summary">
Set <span class="parameter">rop</span> to the truncated integer part of the square root of <span class="parameter">op</span>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="e802af92-73bf-b138-dc95-a3c57eeefb66.htm">mpz_sqrtrem</a></td><td><div class="summary">
Set <span class="parameter">rop1</span> to the truncated integer part of the square root of <span class="parameter">op</span>, like <a href="1e1204c7-2d33-c9d1-4f4e-c36215f5ebed.htm">mpz_sqrt(mpz_t, mpz_t)</a>. Set <span class="parameter">rop2</span> to the remainder <span class="parameter">op</span> - <span class="parameter">rop1</span> * <span class="parameter">rop1</span>, which will be zero if <span class="parameter">op</span> is a perfect square.
Set <span class="parameter">rop1</span> to the truncated integer part of the square root of <span class="parameter">op</span>, like <a href="1e1204c7-2d33-c9d1-4f4e-c36215f5ebed.htm">mpz_sqrt</a>. Set <span class="parameter">rop2</span> to the remainder <span class="parameter">op</span> - <span class="parameter">rop1</span> * <span class="parameter">rop1</span>, which will be zero if <span class="parameter">op</span> is a perfect square.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="53702772-53e9-ec51-c3a5-7a1912b4f2b4.htm">mpz_sub</a></td><td><div class="summary">
Set <span class="parameter">rop</span> to <span class="parameter">op1</span> - <span class="parameter">op2</span>.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /><img src="../icons/CodeExample.png" alt="Code example" title="Code example" /></td><td><a href="e3e3f2ce-f3d8-5321-37a5-de65b6c2a30d.htm">mpz_sub_ui</a></td><td><div class="summary">
@ -755,5 +755,5 @@
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="067f64f9-7014-8c6a-3c02-153c1460a1dd.htm">reallocate</a></td><td><div class="summary">
Resize a previously allocated block <span class="parameter">ptr</span> of <span class="parameter">old_size</span> bytes to be <span class="parameter">new_size</span> bytes.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="e3d53be6-a0ad-fb21-5381-ff688f5984a6.htm">ZeroMemory</a></td><td><div class="summary">
The <a href="e3d53be6-a0ad-fb21-5381-ff688f5984a6.htm">ZeroMemory(IntPtr, Int32)</a> routine fills a block of memory with zeros, given a pointer to the block and the length, in bytes, to be filled.
The <a href="e3d53be6-a0ad-fb21-5381-ff688f5984a6.htm">ZeroMemory</a> routine fills a block of memory with zeros, given a pointer to the block and the length, in bytes, to be filled.
</div></td></tr></table><a href="#PageHeader">Top</a></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID1RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -31,4 +31,4 @@ gmp_lib.mpq_set_si(op, <span class="highlight-number">-10</span>, <span class="h
Assert.IsTrue(gmp_lib.mpq_sgn(op) = <span class="highlight-number">-1</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for x and y.</span>
gmp_lib.mpq_clear(op)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="3f29d5f4-13ae-cec8-ea75-6a76d00d10fc.htm">gmp_lib<span id="LST3567E489_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST3567E489_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_cmp(mpq_t, mpq_t)</a></div><div class="seeAlsoStyle"><a href="bc33b7de-0deb-669e-0bb7-6cd1090f4aea.htm">gmp_lib<span id="LST3567E489_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST3567E489_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_cmp_z(mpq_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="03336561-2bb9-b38f-8adb-506e0fad094b.htm">gmp_lib<span id="LST3567E489_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST3567E489_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_cmp_ui(mpq_t, UInt32, UInt32)</a></div><div class="seeAlsoStyle"><a href="43cb2c87-9fab-eb9d-2f7a-140d72af7b15.htm">gmp_lib<span id="LST3567E489_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST3567E489_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_cmp_si(mpq_t, Int32, UInt32)</a></div><div class="seeAlsoStyle"><a href="7828ce92-079b-da4d-aab2-1742209287fb.htm">gmp_lib<span id="LST3567E489_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST3567E489_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_equal(mpq_t, mpq_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Comparing-Rationals.html#Comparing-Rationals">GNU MP - Comparing Rationals</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpq_clear(op)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="3f29d5f4-13ae-cec8-ea75-6a76d00d10fc.htm">mpq_cmp</a></div><div class="seeAlsoStyle"><a href="bc33b7de-0deb-669e-0bb7-6cd1090f4aea.htm">mpq_cmp_z</a></div><div class="seeAlsoStyle"><a href="03336561-2bb9-b38f-8adb-506e0fad094b.htm">mpq_cmp_ui</a></div><div class="seeAlsoStyle"><a href="43cb2c87-9fab-eb9d-2f7a-140d72af7b15.htm">mpq_cmp_si</a></div><div class="seeAlsoStyle"><a href="7828ce92-079b-da4d-aab2-1742209287fb.htm">mpq_equal</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Comparing_Rationals">Comparing Rationals</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Comparing-Rationals.html#Comparing-Rationals">GNU MP - Comparing Rationals</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -34,4 +34,4 @@ gmp_lib.mpf_init_set_d(x, <span class="highlight-number">10</span>)
Assert.IsTrue(gmp_lib.mpf_integer_p(x) &lt;&gt; <span class="highlight-number">0</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for x.</span>
gmp_lib.mpf_clear(x)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="9b4a5f6b-3f8e-a957-ae84-303c6897aeb4.htm">gmp_lib<span id="LSTD5BE4F0E_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_ceil(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="f7584918-b77f-3524-eea2-04134a2c3ba6.htm">gmp_lib<span id="LSTD5BE4F0E_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_floor(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="3ac2ecd4-f154-de62-9170-b2d28f362a7e.htm">gmp_lib<span id="LSTD5BE4F0E_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_trunc(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="d1b172bb-9c87-c255-a736-4b8ef1f6a5fe.htm">gmp_lib<span id="LSTD5BE4F0E_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_ulong_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="6c178e2d-a080-13b8-75b0-3fe232b46d75.htm">gmp_lib<span id="LSTD5BE4F0E_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_slong_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="201b1b12-bb0c-6a53-c6d5-e75db73f8470.htm">gmp_lib<span id="LSTD5BE4F0E_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_uint_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="5ea7691b-2a0f-5f25-290c-54c78e2cf3bd.htm">gmp_lib<span id="LSTD5BE4F0E_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_sint_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="ada84e5e-397e-e963-7d50-e260d4a104f7.htm">gmp_lib<span id="LSTD5BE4F0E_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_ushort_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="142199e1-6aef-83d5-1986-1b1248ddc6e3.htm">gmp_lib<span id="LSTD5BE4F0E_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_sshort_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="5a698221-639e-333b-061b-0aa3f76c38e9.htm">gmp_lib<span id="LSTD5BE4F0E_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_11?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_urandomb(mpf_t, gmp_randstate_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="cc6e8f51-f396-f6c3-c6e4-9a9aeeaf2a13.htm">gmp_lib<span id="LSTD5BE4F0E_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD5BE4F0E_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_random2(mpf_t, mp_size_t, mp_exp_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Miscellaneous-Float-Functions.html#Miscellaneous-Float-Functions">GNU MP - Miscellaneous Float Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpf_clear(x)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="9b4a5f6b-3f8e-a957-ae84-303c6897aeb4.htm">mpf_ceil</a></div><div class="seeAlsoStyle"><a href="f7584918-b77f-3524-eea2-04134a2c3ba6.htm">mpf_floor</a></div><div class="seeAlsoStyle"><a href="3ac2ecd4-f154-de62-9170-b2d28f362a7e.htm">mpf_trunc</a></div><div class="seeAlsoStyle"><a href="d1b172bb-9c87-c255-a736-4b8ef1f6a5fe.htm">mpf_fits_ulong_p</a></div><div class="seeAlsoStyle"><a href="6c178e2d-a080-13b8-75b0-3fe232b46d75.htm">mpf_fits_slong_p</a></div><div class="seeAlsoStyle"><a href="201b1b12-bb0c-6a53-c6d5-e75db73f8470.htm">mpf_fits_uint_p</a></div><div class="seeAlsoStyle"><a href="5ea7691b-2a0f-5f25-290c-54c78e2cf3bd.htm">mpf_fits_sint_p</a></div><div class="seeAlsoStyle"><a href="ada84e5e-397e-e963-7d50-e260d4a104f7.htm">mpf_fits_ushort_p</a></div><div class="seeAlsoStyle"><a href="142199e1-6aef-83d5-1986-1b1248ddc6e3.htm">mpf_fits_sshort_p</a></div><div class="seeAlsoStyle"><a href="5a698221-639e-333b-061b-0aa3f76c38e9.htm">mpf_urandomb</a></div><div class="seeAlsoStyle"><a href="cc6e8f51-f396-f6c3-c6e4-9a9aeeaf2a13.htm">mpf_random2</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Miscellaneous_Float_Functions">Miscellaneous Float Functions</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Miscellaneous-Float-Functions.html#Miscellaneous-Float-Functions">GNU MP - Miscellaneous Float Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -53,4 +53,4 @@ Assert.IsTrue(gmp_lib.mpq_cmp_si(x, <span class="highlight-number">-210</span>,
Assert.IsTrue(gmp_lib.mpq_cmp_si(y, <span class="highlight-number">10</span>, <span class="highlight-number">11</span>UI) = <span class="highlight-number">0</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for x and y.</span>
gmp_lib.mpq_clears(x, y, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="19d53697-65f1-2df5-62f3-988182af0c88.htm">gmp_lib<span id="LST8E433241_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_canonicalize(mpq_t)</a></div><div class="seeAlsoStyle"><a href="dbf3d252-fd6d-455f-2ba7-4091845b86a7.htm">gmp_lib<span id="LST8E433241_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_init(mpq_t)</a></div><div class="seeAlsoStyle"><a href="8ab8ea40-9723-f0c8-18f4-9558c73397b9.htm">gmp_lib<span id="LST8E433241_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_inits(<span id="LST8E433241_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_6?cpp=array&lt;");</script>mpq_t<span id="LST8E433241_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_7?cpp=&gt;|cs=[]|vb=()|nu=[]|fs=[]");</script>)</a></div><div class="seeAlsoStyle"><a href="b69da354-160b-602a-4cc4-faf7ca423186.htm">gmp_lib<span id="LST8E433241_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_clear(mpq_t)</a></div><div class="seeAlsoStyle"><a href="cc2693e9-1cc5-3098-f2f7-bb05c8017f62.htm">gmp_lib<span id="LST8E433241_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_clears(<span id="LST8E433241_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_10?cpp=array&lt;");</script>mpq_t<span id="LST8E433241_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_11?cpp=&gt;|cs=[]|vb=()|nu=[]|fs=[]");</script>)</a></div><div class="seeAlsoStyle"><a href="9eac8ea9-0821-09b2-8091-e6638c562c7f.htm">gmp_lib<span id="LST8E433241_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_set(mpq_t, mpq_t)</a></div><div class="seeAlsoStyle"><a href="84d256a1-cd11-3bf9-3e8c-8a7e1980315d.htm">gmp_lib<span id="LST8E433241_13"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_13?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_set_z(mpq_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="915a7958-6821-bb64-468f-b0b48b351878.htm">gmp_lib<span id="LST8E433241_14"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_14?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_set_ui(mpq_t, UInt32, UInt32)</a></div><div class="seeAlsoStyle"><a href="ba898f37-20d0-a5cd-eff1-0663f18220dd.htm">gmp_lib<span id="LST8E433241_15"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_15?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_set_si(mpq_t, Int32, UInt32)</a></div><div class="seeAlsoStyle"><a href="e98ec3cf-b539-8024-c401-ecd24bd43662.htm">gmp_lib<span id="LST8E433241_16"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8E433241_16?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpq_set_str(mpq_t, char_ptr, Int32)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Initializing-Rationals.html#Initializing-Rationals">GNU MP - Initializing Rationals</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpq_clears(x, y, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="19d53697-65f1-2df5-62f3-988182af0c88.htm">mpq_canonicalize</a></div><div class="seeAlsoStyle"><a href="dbf3d252-fd6d-455f-2ba7-4091845b86a7.htm">mpq_init</a></div><div class="seeAlsoStyle"><a href="8ab8ea40-9723-f0c8-18f4-9558c73397b9.htm">mpq_inits</a></div><div class="seeAlsoStyle"><a href="b69da354-160b-602a-4cc4-faf7ca423186.htm">mpq_clear</a></div><div class="seeAlsoStyle"><a href="cc2693e9-1cc5-3098-f2f7-bb05c8017f62.htm">mpq_clears</a></div><div class="seeAlsoStyle"><a href="9eac8ea9-0821-09b2-8091-e6638c562c7f.htm">mpq_set</a></div><div class="seeAlsoStyle"><a href="84d256a1-cd11-3bf9-3e8c-8a7e1980315d.htm">mpq_set_z</a></div><div class="seeAlsoStyle"><a href="915a7958-6821-bb64-468f-b0b48b351878.htm">mpq_set_ui</a></div><div class="seeAlsoStyle"><a href="ba898f37-20d0-a5cd-eff1-0663f18220dd.htm">mpq_set_si</a></div><div class="seeAlsoStyle"><a href="e98ec3cf-b539-8024-c401-ecd24bd43662.htm">mpq_set_str</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Initializing_Rationals">Initializing Rationals</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Initializing-Rationals.html#Initializing-Rationals">GNU MP - Initializing Rationals</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -29,4 +29,4 @@ gmp_lib.mpf_init_set_ui(op, <span class="highlight-keyword">UInteger</span>.MaxV
Assert.IsTrue(gmp_lib.mpf_fits_sshort_p(op) = <span class="highlight-number">0</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for op.</span>
gmp_lib.mpf_clear(op)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="9b4a5f6b-3f8e-a957-ae84-303c6897aeb4.htm">gmp_lib<span id="LSTD7A7A150_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_ceil(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="f7584918-b77f-3524-eea2-04134a2c3ba6.htm">gmp_lib<span id="LSTD7A7A150_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_floor(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="3ac2ecd4-f154-de62-9170-b2d28f362a7e.htm">gmp_lib<span id="LSTD7A7A150_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_trunc(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="11a036ec-5052-7dc4-bdb6-10e5c92f88cc.htm">gmp_lib<span id="LSTD7A7A150_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_integer_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="d1b172bb-9c87-c255-a736-4b8ef1f6a5fe.htm">gmp_lib<span id="LSTD7A7A150_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_ulong_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="6c178e2d-a080-13b8-75b0-3fe232b46d75.htm">gmp_lib<span id="LSTD7A7A150_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_slong_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="201b1b12-bb0c-6a53-c6d5-e75db73f8470.htm">gmp_lib<span id="LSTD7A7A150_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_uint_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="5ea7691b-2a0f-5f25-290c-54c78e2cf3bd.htm">gmp_lib<span id="LSTD7A7A150_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_sint_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="ada84e5e-397e-e963-7d50-e260d4a104f7.htm">gmp_lib<span id="LSTD7A7A150_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_fits_ushort_p(mpf_t)</a></div><div class="seeAlsoStyle"><a href="5a698221-639e-333b-061b-0aa3f76c38e9.htm">gmp_lib<span id="LSTD7A7A150_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_11?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_urandomb(mpf_t, gmp_randstate_t, mp_bitcnt_t)</a></div><div class="seeAlsoStyle"><a href="cc6e8f51-f396-f6c3-c6e4-9a9aeeaf2a13.htm">gmp_lib<span id="LSTD7A7A150_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTD7A7A150_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_random2(mpf_t, mp_size_t, mp_exp_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Miscellaneous-Float-Functions.html#Miscellaneous-Float-Functions">GNU MP - Miscellaneous Float Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpf_clear(op)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="9b4a5f6b-3f8e-a957-ae84-303c6897aeb4.htm">mpf_ceil</a></div><div class="seeAlsoStyle"><a href="f7584918-b77f-3524-eea2-04134a2c3ba6.htm">mpf_floor</a></div><div class="seeAlsoStyle"><a href="3ac2ecd4-f154-de62-9170-b2d28f362a7e.htm">mpf_trunc</a></div><div class="seeAlsoStyle"><a href="11a036ec-5052-7dc4-bdb6-10e5c92f88cc.htm">mpf_integer_p</a></div><div class="seeAlsoStyle"><a href="d1b172bb-9c87-c255-a736-4b8ef1f6a5fe.htm">mpf_fits_ulong_p</a></div><div class="seeAlsoStyle"><a href="6c178e2d-a080-13b8-75b0-3fe232b46d75.htm">mpf_fits_slong_p</a></div><div class="seeAlsoStyle"><a href="201b1b12-bb0c-6a53-c6d5-e75db73f8470.htm">mpf_fits_uint_p</a></div><div class="seeAlsoStyle"><a href="5ea7691b-2a0f-5f25-290c-54c78e2cf3bd.htm">mpf_fits_sint_p</a></div><div class="seeAlsoStyle"><a href="ada84e5e-397e-e963-7d50-e260d4a104f7.htm">mpf_fits_ushort_p</a></div><div class="seeAlsoStyle"><a href="5a698221-639e-333b-061b-0aa3f76c38e9.htm">mpf_urandomb</a></div><div class="seeAlsoStyle"><a href="cc6e8f51-f396-f6c3-c6e4-9a9aeeaf2a13.htm">mpf_random2</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Miscellaneous_Float_Functions">Miscellaneous Float Functions</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Miscellaneous-Float-Functions.html#Miscellaneous-Float-Functions">GNU MP - Miscellaneous Float Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -30,8 +30,8 @@
<span class="parameter">b</span> : <span class="identifier">mp_limb_t</span> *
<span class="parameter">tp</span> : <span class="identifier">mp_ptr</span> <span class="keyword">-&gt;</span> <span class="identifier">mp_limb_t</span>
</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">rp</span></dt><dd>Type: <a href="4609ac5e-5cf9-cd20-2fa9-8040101c165c.htm">Math.Gmp.Native<span id="LST62D7D033_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mp_ptr</a><br />The result integer.</dd><dt><span class="parameter">ap</span></dt><dd>Type: <a href="4609ac5e-5cf9-cd20-2fa9-8040101c165c.htm">Math.Gmp.Native<span id="LST62D7D033_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mp_ptr</a><br />The first operand integer.</dd><dt><span class="parameter">n</span></dt><dd>Type: <a href="4b58a584-7a0e-b600-18fa-ebd493861eb3.htm">Math.Gmp.Native<span id="LST62D7D033_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mp_size_t</a><br />The number of limbs of <span class="parameter">ap</span> and <span class="parameter">rp</span>.</dd><dt><span class="parameter">b</span></dt><dd>Type: <a href="bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm">Math.Gmp.Native<span id="LST62D7D033_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mp_limb_t</a><br />The second operand integer.</dd><dt><span class="parameter">tp</span></dt><dd>Type: <a href="4609ac5e-5cf9-cd20-2fa9-8040101c165c.htm">Math.Gmp.Native<span id="LST62D7D033_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mp_ptr</a><br />The scratch operand integer.</dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm">mp_limb_t</a><br />Returns carry, either 0 or 1.</div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p>
This function takes O(N) time, unlike the leaky functions <a href="5562b14f-48a4-be75-2eb0-6a129cd0d5ab.htm">mpn_add_1(mp_ptr, mp_ptr, mp_size_t, mp_limb_t)</a> which is O(1) on average.
It requires scratch space of <a href="87bbc39f-b11a-76d9-f31d-f5dcf365a67d.htm">mpn_sec_add_1_itch(mp_size_t)</a>(n) limbs, to be passed in the <span class="parameter">tp</span> parameter.
This function takes O(N) time, unlike the leaky functions <a href="5562b14f-48a4-be75-2eb0-6a129cd0d5ab.htm">mpn_add_1</a> which is O(1) on average.
It requires scratch space of <a href="87bbc39f-b11a-76d9-f31d-f5dcf365a67d.htm">mpn_sec_add_1_itch</a>(n) limbs, to be passed in the <span class="parameter">tp</span> parameter.
The scratch space requirements are guaranteed to be at most <span class="parameter">n</span> limbs, and increase monotonously in the operand size.
</p></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Examples</span></div><div id="ID3RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDAABA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cs','1','4');return false;">C#</a></div><div id="ID0EDAABA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','vb','2','4');return false;">VB</a></div><div id="ID0EDAABA_tab3" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cpp','3','4');return false;">C++</a></div><div id="ID0EDAABA_tab4" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDAABA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDAABA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDAABA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="highlight-comment">// Create multi-precision operands, and expected result.</span>
mp_ptr ap = <span class="highlight-keyword">new</span> mp_ptr(<span class="highlight-keyword">new</span> <span class="highlight-keyword">uint</span>[] { <span class="highlight-number">0xffffffff</span>, <span class="highlight-number">0xffffffff</span> });
@ -67,4 +67,4 @@ Assert.IsTrue(carry = <span class="highlight-number">1</span>)
Assert.IsTrue(rp.SequenceEqual(result))
<span class="highlight-comment">' Release unmanaged memory.</span>
gmp_lib.free(rp, ap, tp, result)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="27902901-3a7d-b5b3-d3fc-3900f754bff1.htm">gmp_lib<span id="LST62D7D033_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_cnd_add_n(mp_limb_t, mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="b82bad6a-f8f0-db53-a6d3-ed6002046257.htm">gmp_lib<span id="LST62D7D033_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_cnd_sub_n(mp_limb_t, mp_ptr, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="87bbc39f-b11a-76d9-f31d-f5dcf365a67d.htm">gmp_lib<span id="LST62D7D033_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_add_1_itch(mp_size_t)</a></div><div class="seeAlsoStyle"><a href="9137a632-abd2-7963-1991-85e6d753bf13.htm">gmp_lib<span id="LST62D7D033_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_sub_1(mp_ptr, mp_ptr, mp_size_t, mp_limb_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="f0985ccc-17da-8a0b-066c-53df9b1921a1.htm">gmp_lib<span id="LST62D7D033_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_cnd_swap(mp_limb_t, mp_ptr, mp_ptr, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="028e92d4-3699-77ff-e8da-9ff4c367f5b3.htm">gmp_lib<span id="LST62D7D033_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_11?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_mul(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">gmp_lib<span id="LST62D7D033_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_sqr(mp_ptr, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="a38b87c5-c6ac-fa68-6d58-c45793bf933e.htm">gmp_lib<span id="LST62D7D033_13"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_13?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_powm(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_bitcnt_t, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="3588cf60-567a-6182-20e8-5e2836498f49.htm">gmp_lib<span id="LST62D7D033_14"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_14?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_tabselect(mp_ptr, mp_ptr, mp_size_t, mp_size_t, mp_size_t)</a></div><div class="seeAlsoStyle"><a href="6f1dca2b-39f4-3acd-71fb-4f1e5a0d04e6.htm">gmp_lib<span id="LST62D7D033_15"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_15?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_div_qr(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="094ea390-8cc8-bac7-35c3-3616775736de.htm">gmp_lib<span id="LST62D7D033_16"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_16?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_div_r(mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="62ffb793-b32f-e0dc-a399-f20fe708a803.htm">gmp_lib<span id="LST62D7D033_17"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST62D7D033_17?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpn_sec_invert(mp_ptr, mp_ptr, mp_ptr, mp_size_t, mp_bitcnt_t, mp_ptr)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.free(rp, ap, tp, result)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="27902901-3a7d-b5b3-d3fc-3900f754bff1.htm">mpn_cnd_add_n</a></div><div class="seeAlsoStyle"><a href="b82bad6a-f8f0-db53-a6d3-ed6002046257.htm">mpn_cnd_sub_n</a></div><div class="seeAlsoStyle"><a href="87bbc39f-b11a-76d9-f31d-f5dcf365a67d.htm">mpn_sec_add_1_itch</a></div><div class="seeAlsoStyle"><a href="9137a632-abd2-7963-1991-85e6d753bf13.htm">mpn_sec_sub_1</a></div><div class="seeAlsoStyle"><a href="f0985ccc-17da-8a0b-066c-53df9b1921a1.htm">mpn_cnd_swap</a></div><div class="seeAlsoStyle"><a href="028e92d4-3699-77ff-e8da-9ff4c367f5b3.htm">mpn_sec_mul</a></div><div class="seeAlsoStyle"><a href="bfe1e9b5-6fc1-95f2-d5b6-137fe87c071a.htm">mpn_sec_sqr</a></div><div class="seeAlsoStyle"><a href="a38b87c5-c6ac-fa68-6d58-c45793bf933e.htm">mpn_sec_powm</a></div><div class="seeAlsoStyle"><a href="3588cf60-567a-6182-20e8-5e2836498f49.htm">mpn_sec_tabselect</a></div><div class="seeAlsoStyle"><a href="6f1dca2b-39f4-3acd-71fb-4f1e5a0d04e6.htm">mpn_sec_div_qr</a></div><div class="seeAlsoStyle"><a href="094ea390-8cc8-bac7-35c3-3616775736de.htm">mpn_sec_div_r</a></div><div class="seeAlsoStyle"><a href="62ffb793-b32f-e0dc-a399-f20fe708a803.htm">mpn_sec_invert</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Low_level_functions_for_cryptography">Low-level functions for cryptography</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions">GNU MP - Low-level Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -96,4 +96,4 @@ free(p, <span class="highlight-number">20</span>)
Assert.IsTrue(counter = <span class="highlight-number">3</span>)
<span class="highlight-comment">' Restore default memory allocation functions.</span>
gmp_lib.gmp_set_memory_functions(<span class="highlight-keyword">Nothing</span>, <span class="highlight-keyword">Nothing</span>, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="9a229bed-b8b6-e0ad-f153-689455252ec4.htm">gmp_lib<span id="LST2CF63884_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST2CF63884_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mp_get_memory_functions(allocate_function<span id="LST2CF63884_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST2CF63884_5?cpp=%");</script>, reallocate_function<span id="LST2CF63884_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST2CF63884_6?cpp=%");</script>, free_function<span id="LST2CF63884_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST2CF63884_7?cpp=%");</script>)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Custom-Allocation.html#Custom-Allocation">GNU MP - Custom Allocation</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.gmp_set_memory_functions(<span class="highlight-keyword">Nothing</span>, <span class="highlight-keyword">Nothing</span>, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="9a229bed-b8b6-e0ad-f153-689455252ec4.htm">mp_get_memory_functions</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Custom_Allocation">Custom Allocation</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Custom-Allocation.html#Custom-Allocation">GNU MP - Custom Allocation</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -11,6 +11,6 @@
}</pre></div><div id="ID0EDCA_code_Div4" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">abstract</span> <span class="identifier">_mp_size</span> : <span class="identifier">mp_size_t</span> <span class="keyword">with</span> <span class="keyword">get</span>
<span class="keyword">override</span> <span class="identifier">_mp_size</span> : <span class="identifier">mp_size_t</span> <span class="keyword">with</span> <span class="keyword">get</span></pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Property Value</h4>Type: <a href="4b58a584-7a0e-b600-18fa-ebd493861eb3.htm">mp_size_t</a></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p>
The number of limbs, or the negative of that when representing a negative integer.
Zero is represented by <a href="178d8d44-2485-2972-fe2f-eb9848059e6f.htm">_mp_size</a> set to zero, in which case
the <a href="db55f1a9-cd4c-b7e9-c831-4391c0497ef7.htm">_mp_d</a> data is unused.
Zero is represented by <a href="178d8d44-2485-2972-fe2f-eb9848059e6f.htm">mp_base._mp_size</a> set to zero, in which case
the <a href="db55f1a9-cd4c-b7e9-c831-4391c0497ef7.htm">mp_base._mp_d</a> data is unused.
</p></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">mpz_t Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -39,4 +39,4 @@ gmp_lib.mpz_fac_ui(rop, <span class="highlight-number">3</span>UI)
Assert.IsTrue(gmp_lib.mpz_get_si(rop) = <span class="highlight-number">6</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for rop.</span>
gmp_lib.mpz_clear(rop)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="d479f2da-ecf9-c9d6-5cc7-66eb8b5ba16b.htm">gmp_lib<span id="LST1E64433F_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST1E64433F_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_2fac_ui(mpz_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="b4ff3a9e-3ab5-689f-7a80-b61dad2ea125.htm">gmp_lib<span id="LST1E64433F_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST1E64433F_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_mfac_uiui(mpz_t, UInt32, UInt32)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Number-Theoretic-Functions.html#Number-Theoretic-Functions">GNU MP - Number Theoretic Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpz_clear(rop)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="d479f2da-ecf9-c9d6-5cc7-66eb8b5ba16b.htm">mpz_2fac_ui</a></div><div class="seeAlsoStyle"><a href="b4ff3a9e-3ab5-689f-7a80-b61dad2ea125.htm">mpz_mfac_uiui</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Number_Theoretic_Functions">Number Theoretic Functions</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Number-Theoretic-Functions.html#Number-Theoretic-Functions">GNU MP - Number Theoretic Functions</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -53,4 +53,4 @@ gmp_lib.mpf_absg(z, x)
Assert.IsTrue(gmp_lib.mpf_get_d(z) = <span class="highlight-number">10.0</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for x and z.</span>
gmp_lib.mpf_clears(x, z, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="c19999f1-01ee-a3fe-dc4d-2a459e73492d.htm">gmp_lib<span id="LSTC5C8F91E_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTC5C8F91E_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_add(mpf_t, mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="718e7623-d25b-8a09-2543-745f24cd82c1.htm">gmp_lib<span id="LSTC5C8F91E_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTC5C8F91E_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_sub(mpf_t, mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="309e6a8c-1318-2d30-a058-f119193546a0.htm">gmp_lib<span id="LSTC5C8F91E_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTC5C8F91E_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_mul(mpf_t, mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="4e876639-72f5-7659-f4a9-862639e27e1c.htm">gmp_lib<span id="LSTC5C8F91E_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTC5C8F91E_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_div(mpf_t, mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="00a7e91d-b046-f5d3-5b51-55868d87e228.htm">gmp_lib<span id="LSTC5C8F91E_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTC5C8F91E_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_sqrt(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><a href="96e2fb95-0ac0-3d24-bea9-ee5631f30347.htm">gmp_lib<span id="LSTC5C8F91E_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTC5C8F91E_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_pow_ui(mpf_t, mpf_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="357791cb-951d-5542-ff67-c00ef5e9aadb.htm">gmp_lib<span id="LSTC5C8F91E_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTC5C8F91E_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_neg(mpf_t, mpf_t)</a></div><div class="seeAlsoStyle"><span class="selflink">gmp_lib<span id="LSTC5C8F91E_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTC5C8F91E_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_abs(mpf_t, mpf_t)</span></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Float-Arithmetic.html#Float-Arithmetic">GNU MP - Float Arithmetic</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpf_clears(x, z, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID3RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="c19999f1-01ee-a3fe-dc4d-2a459e73492d.htm">mpf_add</a></div><div class="seeAlsoStyle"><a href="718e7623-d25b-8a09-2543-745f24cd82c1.htm">mpf_sub</a></div><div class="seeAlsoStyle"><a href="309e6a8c-1318-2d30-a058-f119193546a0.htm">mpf_mul</a></div><div class="seeAlsoStyle"><a href="4e876639-72f5-7659-f4a9-862639e27e1c.htm">mpf_div</a></div><div class="seeAlsoStyle"><a href="00a7e91d-b046-f5d3-5b51-55868d87e228.htm">mpf_sqrt</a></div><div class="seeAlsoStyle"><a href="96e2fb95-0ac0-3d24-bea9-ee5631f30347.htm">mpf_pow_ui</a></div><div class="seeAlsoStyle"><a href="357791cb-951d-5542-ff67-c00ef5e9aadb.htm">mpf_neg</a></div><div class="seeAlsoStyle"><span class="selflink">mpf_abs</span></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Float_Arithmetic">Float Arithmetic</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Float-Arithmetic.html#Float-Arithmetic">GNU MP - Float Arithmetic</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -18,7 +18,7 @@
<span class="parameter">rop</span> : <span class="identifier">mpf_t</span> *
<span class="parameter">op</span> : <span class="identifier">mpf_t</span> <span class="keyword">-&gt;</span> <span class="keyword">unit</span>
</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">rop</span></dt><dd>Type: <a href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">Math.Gmp.Native<span id="LST29F49E_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST29F49E_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_t</a><br />The result float.</dd><dt><span class="parameter">op</span></dt><dd>Type: <a href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">Math.Gmp.Native<span id="LST29F49E_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST29F49E_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_t</a><br />The operand.</dd></dl></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Remarks</span></div><div id="ID2RBSection" class="collapsibleSection"><p>
The precision of <span class="parameter">rop</span> will be taken from the active default precision, as set by <a href="9e93d02e-f5c7-1a6f-68fe-a33d793a93e2.htm">mpf_set_default_prec(mp_bitcnt_t)</a>.
The precision of <span class="parameter">rop</span> will be taken from the active default precision, as set by <a href="9e93d02e-f5c7-1a6f-68fe-a33d793a93e2.htm">mpf_set_default_prec</a>.
</p></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID3RB')" onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex="0"><img id="ID3RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Examples</span></div><div id="ID3RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDAABA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cs','1','4');return false;">C#</a></div><div id="ID0EDAABA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','vb','2','4');return false;">VB</a></div><div id="ID0EDAABA_tab3" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','cpp','3','4');return false;">C++</a></div><div id="ID0EDAABA_tab4" class="codeSnippetContainerTabPhantom"><a href="#" onclick="javascript:ChangeTab('ID0EDAABA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDAABA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDAABA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDAABA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="highlight-comment">// Set default precision to 64 bits.</span>
gmp_lib.mpf_set_default_prec(<span class="highlight-number">64</span>U);
@ -49,4 +49,4 @@ gmp_lib.mpf_init_set(y, x)
Assert.IsTrue(gmp_lib.mpf_get_d(y) = <span class="highlight-number">10.0</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for x and y.</span>
gmp_lib.mpf_clears(x, y, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="8d1b97c9-ef9d-303a-0fbe-e7ece7edf391.htm">gmp_lib<span id="LST29F49E_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST29F49E_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_init_set_ui(mpf_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="dc1406fd-4ca4-70d3-dc83-bd40b955564a.htm">gmp_lib<span id="LST29F49E_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST29F49E_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_init_set_si(mpf_t, Int32)</a></div><div class="seeAlsoStyle"><a href="a2c14761-1b23-0de9-3842-c2d4e3d7aac0.htm">gmp_lib<span id="LST29F49E_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST29F49E_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_init_set_d(mpf_t, Double)</a></div><div class="seeAlsoStyle"><a href="4e30a5e0-637b-949e-a627-387a56945f7b.htm">gmp_lib<span id="LST29F49E_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST29F49E_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_init_set_str(mpf_t, char_ptr, Int32)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Simultaneous-Float-Init-_0026-Assign.html#Simultaneous-Float-Init-_0026-Assign">GNU MP - Combined Float Initialization and Assignment</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpf_clears(x, y, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="8d1b97c9-ef9d-303a-0fbe-e7ece7edf391.htm">mpf_init_set_ui</a></div><div class="seeAlsoStyle"><a href="dc1406fd-4ca4-70d3-dc83-bd40b955564a.htm">mpf_init_set_si</a></div><div class="seeAlsoStyle"><a href="a2c14761-1b23-0de9-3842-c2d4e3d7aac0.htm">mpf_init_set_d</a></div><div class="seeAlsoStyle"><a href="4e30a5e0-637b-949e-a627-387a56945f7b.htm">mpf_init_set_str</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Simultaneous_Float_Init_Assign">Simultaneous Float Init &amp; Assign</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Simultaneous-Float-Init-_0026-Assign.html#Simultaneous-Float-Init-_0026-Assign">GNU MP - Combined Float Initialization and Assignment</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

View File

@ -53,4 +53,4 @@ gmp_lib.mpz_mul_2exp(z, x, <span class="highlight-number">2</span>UI)
Assert.IsTrue(gmp_lib.mpz_get_si(z) = <span class="highlight-number">-10000</span> * <span class="highlight-number">4</span>)
<span class="highlight-comment">' Release unmanaged memory allocated for x and z.</span>
gmp_lib.mpz_clears(x, z, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="9761cc8e-6099-7a76-5ea6-d27f617fd5d1.htm">gmp_lib<span id="LSTA1EAB316_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_abs(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="acb6d3d4-70ad-58be-7cb8-9edb997204b3.htm">gmp_lib<span id="LSTA1EAB316_5"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_add(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="582a0647-1482-ecd7-cc78-bd2222610e06.htm">gmp_lib<span id="LSTA1EAB316_6"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_addmul(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="3523bf0e-75ec-6286-76a0-4685198e51f6.htm">gmp_lib<span id="LSTA1EAB316_7"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_mul(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="ffd27ee1-e1e3-567f-b3cf-87dec2de2c83.htm">gmp_lib<span id="LSTA1EAB316_8"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_mul_si(mpz_t, mpz_t, Int32)</a></div><div class="seeAlsoStyle"><a href="5fba9944-4437-9b1c-afa0-666d87eafe39.htm">gmp_lib<span id="LSTA1EAB316_9"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_mul_ui(mpz_t, mpz_t, UInt32)</a></div><div class="seeAlsoStyle"><a href="5a61d62c-a0f0-5e86-b6dd-8ca6414b35ed.htm">gmp_lib<span id="LSTA1EAB316_10"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_neg(mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="53702772-53e9-ec51-c3a5-7a1912b4f2b4.htm">gmp_lib<span id="LSTA1EAB316_11"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_11?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_sub(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="ce7d559a-3772-41c0-912f-9ab218f4d98c.htm">gmp_lib<span id="LSTA1EAB316_12"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_submul(mpz_t, mpz_t, mpz_t)</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Integer-Arithmetic.html#Integer-Arithmetic">GNU MP - Integer Arithmetic</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
gmp_lib.mpz_clears(x, z, <span class="highlight-keyword">Nothing</span>)</pre></div><div id="ID0EDAABA_code_Div3" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><div id="ID0EDAABA_code_Div4" class="codeSnippetContainerCode" style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID4RB')" onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex="0"><img id="ID4RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID4RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><div class="seeAlsoStyle"><a href="9761cc8e-6099-7a76-5ea6-d27f617fd5d1.htm">mpz_abs</a></div><div class="seeAlsoStyle"><a href="acb6d3d4-70ad-58be-7cb8-9edb997204b3.htm">mpz_add</a></div><div class="seeAlsoStyle"><a href="582a0647-1482-ecd7-cc78-bd2222610e06.htm">mpz_addmul</a></div><div class="seeAlsoStyle"><a href="3523bf0e-75ec-6286-76a0-4685198e51f6.htm">mpz_mul</a></div><div class="seeAlsoStyle"><a href="ffd27ee1-e1e3-567f-b3cf-87dec2de2c83.htm">mpz_mul_si</a></div><div class="seeAlsoStyle"><a href="5fba9944-4437-9b1c-afa0-666d87eafe39.htm">mpz_mul_ui</a></div><div class="seeAlsoStyle"><a href="5a61d62c-a0f0-5e86-b6dd-8ca6414b35ed.htm">mpz_neg</a></div><div class="seeAlsoStyle"><a href="53702772-53e9-ec51-c3a5-7a1912b4f2b4.htm">mpz_sub</a></div><div class="seeAlsoStyle"><a href="ce7d559a-3772-41c0-912f-9ab218f4d98c.htm">mpz_submul</a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Integer_Arithmetic">Integer Arithmetic</a></a></div><div class="seeAlsoStyle"><a href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><a href="https://gmplib.org/manual/Integer-Arithmetic.html#Integer-Arithmetic">GNU MP - Integer Arithmetic</a></a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More