~npalix/coccinelle/upstream

« back to all changes in this revision

Viewing changes to bundles/stdcompat/stdcompat-current/interfaces/3.07/complex.mli

  • Committer: Thierry Martinez
  • Date: 2019-08-20 13:37:04 UTC
  • Revision ID: git-v1:0214afad4a32c95349c2c5a38e37cea407c455d0
Update bundles

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
type t = {
 
2
  re: float ;
 
3
  im: float }
 
4
val zero : t
 
5
val one : t
 
6
val i : t
 
7
val neg : t -> t
 
8
val conj : t -> t
 
9
val add : t -> t -> t
 
10
val sub : t -> t -> t
 
11
val mul : t -> t -> t
 
12
val inv : t -> t
 
13
val div : t -> t -> t
 
14
val sqrt : t -> t
 
15
val norm2 : t -> float
 
16
val norm : t -> float
 
17
val arg : t -> float
 
18
val polar : float -> float -> t
 
19
val exp : t -> t
 
20
val log : t -> t
 
21
val pow : t -> t -> t