search for: float_of_int

Displaying 3 results from an estimated 3 matches for "float_of_int".

2009 Jun 24
0
[LLVMdev] New HLVM examples
...n = 65536 then print_char ' ' else       if zr * zr + zi * zi >= 4.0 then print_char '.' else         pixel(n+1, zr * zr - zi * zi + cr, 2.0 * zr * zi + ci, cr, ci);; # let rec row((i, j, n) : int * int * int) : unit =     if i>n then () else       begin         let cr = 2.0 * float_of_int i / float_of_int n - 1.5 in         let ci = 2.0 * float_of_int j / float_of_int n - 1.0 in         pixel(0, 0.0, 0.0, cr, ci);         row(i+1, j, n)       end;; # let rec col((j, n) : int * int) : unit =     if j>n then () else       begin         row(0, j, n);         print_char '\n';...
2018 Aug 29
2
[PATCH 0/2] v2v: Add -o openstack target.
This patch implements output to OpenStack Cinder volumes using OpenStack APIs. It has only been lightly tested, but appears to work. There are some important things to understand about how this works: (1) You must run virt-v2v in a conversion appliance running on top of OpenStack. And you must supply the name or UUID of this appliance to virt-v2v using the ‘-oo server-id=NAME|UUID’ parameter.
2018 Aug 30
3
[PATCH v2 0/2] v2v: Add -o openstack target.
v1 was here: https://www.redhat.com/archives/libguestfs/2018-August/thread.html#00287 v2: - The -oa option now gives an error; apparently Cinder cannot generally control sparse/preallocated behaviour, although certain Cinder backends can. - The -os option maps to Cinder volume type; suggested by Matt Booth. - Add a simple test.