Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-2-0
Try Online
Online Manual
Graphical Interface
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.12.2.13 wUnit
Procedure from library
atkins.lib
(see
atkins_lib
).
Usage:
wUnit(D);
Return:
the number of roots of unity in the quadratic order of discriminant D
Assume:
D<0 a discriminant kongruent to 0 or 1 modulo 4
Example:
LIB "atkins.lib"; bigint D=-3; wUnit(D); ==> 6
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Mailing List
Blog
System
New Libraries
Source Code
Open Tasks
Third-party software
Misc
Links
Contact
Impressum
Internal