similar to: Simple addition and subtraction doesn't work??

Displaying 20 results from an estimated 10000 matches similar to: "Simple addition and subtraction doesn't work??"

2007 Jan 26
2
strange behaviour with equality after simple subtraction
hello, today while trying to extract data from a list for subsequent analysis, i stumbled upon this funny behavior on my system: > x<-c(0.1,0.9) > 1-x[2] [1] 0.1 > x[1] [1] 0.1 > x[1]==1-x[2] [1] FALSE > x[1]>1-x[2] [1] TRUE > x<-c(0.3,0.7) > x[1] [1] 0.3 > x[2] [1] 0.7 > 1-x[2] [1] 0.3 > x[1]==1-x[2] [1] FALSE but: >
2006 Apr 12
2
Problems doing addition/subtraction with floats
Ok, I am sure this is a simplistic problem that I am just missing right now (maybe eyes are crossed??). However, I am trying to do simply math here. I have these variables initialized as follows: @amount_due = @amount_paid = @total_due = 0.0 I get @total_due and it is set to 1739.6 from the database. I then get @amount_paid and it is set to 1739.6 from the database. I then calculate the
2017 Jan 25
2
Backend subtraction changed to negative addition
Hi all, I am writing a custom backend. Doing more testing i notice that for some reason something like: int test(int x) { return x - 1; } is being turned into this IR: ; Function Attrs: nounwind define i32 @test(i32 %n) #0 { entry: %n.addr = alloca i32, align 4 store i32 %n, i32* %n.addr, align 4 %0 = load i32* %n.addr, align 4 %sub = sub nsw i32 %0, 1 ret i32 %sub } But finally in
2010 Feb 10
2
simple subtraction in a single vector
OK, this is very elementary, but I need help. I have looked in Verzani, past postings etc. Problem: I need to subtract the "length" date between "h4" and "a3" #which would be 4-1 I would rather not convert the two columns into four columns (with headings being "a3","a4","c4","h4"). DF <- data.frame(length=c(1,2,3,4),
2006 Jul 27
1
seq unexpected behavior
seq(0.1, 0.9 - 0.8, by = 0.1) gives the following error message: Error in seq.default(0.1, 0.9 - 0.8, by = 0.1) : wrong sign in 'by' argument but seq(0.1, 0.8 - 0.7, by = 0.1) gives [1] 0.1 (no error message) Why do I get an error message in the first case? Han > sessionInfo() R version 2.2.1, 2005-12-20, i386-pc-mingw32 attached base packages: [1] "methods"
2012 Mar 20
15
Xen VGA Passthrough Questions
Dear David Techer, I have read through your article on Xen VGA passthrough on http://www.davidgis.fr. It appears that the following command on your blog doesn''t work. dmesg | grep 01:00.0 | grep BAR The above command shows nothing at all. Is there an alternative solution? Thank you very much. Yours sincerely, Teo En Ming (Zhang Enming)
2009 Jul 22
109
Unable to Configure Xen Dom 0 in Jeremy''s PVOPS Kernel
Hi All, I followed the instructions here at http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/ However, when I do a "make menuconfig", I cannot see any XEN related configuration options. What am I missing? Thank you. Mr. Teo En Ming Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
2013 Jul 19
32
Is my Intel HD Graphics 4600 Xen VGA Passthrough to Windows 8 Enterprise HVM domU Considered Successful?
Hi, My Windows 8 Enterprise HVM domU configuration is as follows. I have to *disable* gfx_passthru, that is, gfx_passthru=0. Please take note. # XL domain configuration file for Windows 8 64-bit English HVM domU # Please refer to "man xl.cfg" for further explanations. # See also docs/misc/xl-network-configuration.markdown and # docs/misc/xl-disk-configuration.txt # Written by Teo En
2013 Jul 19
32
Is my Intel HD Graphics 4600 Xen VGA Passthrough to Windows 8 Enterprise HVM domU Considered Successful?
Hi, My Windows 8 Enterprise HVM domU configuration is as follows. I have to *disable* gfx_passthru, that is, gfx_passthru=0. Please take note. # XL domain configuration file for Windows 8 64-bit English HVM domU # Please refer to "man xl.cfg" for further explanations. # See also docs/misc/xl-network-configuration.markdown and # docs/misc/xl-disk-configuration.txt # Written by Teo En
2013 Jul 31
12
Dear Ren Yongjie
Hi Yongjie, I have just compiled and installed Xen 4.3-unstable changeset 26666 and Linux kernel 3.8.1, according to your specifications. However, I still cannot get success with Intel HD Graphics 4600 IGD VGA passthrough. Although in Device Manager in Windows 7 HVM domU, it says "This device is working properly" for Intel HD Graphics 4600, I can only get 16 colors. Please refer to
2013 Jul 31
12
Dear Ren Yongjie
Hi Yongjie, I have just compiled and installed Xen 4.3-unstable changeset 26666 and Linux kernel 3.8.1, according to your specifications. However, I still cannot get success with Intel HD Graphics 4600 IGD VGA passthrough. Although in Device Manager in Windows 7 HVM domU, it says "This device is working properly" for Intel HD Graphics 4600, I can only get 16 colors. Please refer to
2012 Mar 21
21
[SUCCESS REPORT] Xen VGA Passthrough to Windows 8 Consumer Preview HVM domU and Windows XP Home Edition HVM domU with Xen 4.2-unstable Changeset 25070 in Ubuntu 11.10 amd64 Dom0
_Subject: Xen VGA Passthrough to Windows 8 Consumer Preview 64-bit English HVM domU and Windows XP Home Edition SP3 HVM domU with Xen 4.2-unstable Changeset 25070 in Ubuntu 11.10 oneiric ocelot amd64 Final Release Dom0_ Dear All, I have with great success passthrough my Palit NVIDIA Geforce 8400 GS PCI Express x16 graphics card to Windows 8 Consumer Preview HVM domU and Windows XP Home
2012 Mar 21
21
[SUCCESS REPORT] Xen VGA Passthrough to Windows 8 Consumer Preview HVM domU and Windows XP Home Edition HVM domU with Xen 4.2-unstable Changeset 25070 in Ubuntu 11.10 amd64 Dom0
_Subject: Xen VGA Passthrough to Windows 8 Consumer Preview 64-bit English HVM domU and Windows XP Home Edition SP3 HVM domU with Xen 4.2-unstable Changeset 25070 in Ubuntu 11.10 oneiric ocelot amd64 Final Release Dom0_ Dear All, I have with great success passthrough my Palit NVIDIA Geforce 8400 GS PCI Express x16 graphics card to Windows 8 Consumer Preview HVM domU and Windows XP Home
2020 Feb 19
2
Why are ForeignSecurityPrincipals and Managed Service Accounts empty with no entries?
[teo-en-ming at dc1 ~]$ ps ax | grep dnsmasq 2406 pts/0 R+ 0:00 grep --color=auto dnsmasq ________________________________ From: samba <samba-bounces at lists.samba.org> on behalf of Rowland penny via samba <samba at lists.samba.org> Sent: Wednesday, February 19, 2020 9:33 PM To: sambalist <samba at lists.samba.org> Subject: Re: [Samba] Why are ForeignSecurityPrincipals
2018 Jul 20
3
Is there any way I can deploy cPanel web hosting control panel with Microsoft Exchange 2016 groupware behind one static public IP?
Dear Richard Grainger, I am grateful for your reply and guidance. After reading the following article at nginx.com, I realize that I should use a reverse proxy instead of a load balancer. Article: WHAT IS A REVERSE PROXY VS. LOAD BALANCER? Link: https://www.nginx.com/resources/glossary/reverse-proxy-vs-load-balancer/ Presently, I am using pfSense community edition firewall. Can I install
2019 May 10
6
Now that Red Hat Enterprise Linux 8.0 has been released...
Good afternoon from Singapore, When will CentOS 8.0 be released? Thank you. -----BEGIN EMAIL SIGNATURE----- The Gospel for all Targeted Individuals (TIs): [The New York Times] Microwave Weapons Are Prime Suspect in Ills of U.S. Embassy Workers Link: https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html
2010 Sep 11
13
Requesting Assistance from Intel Engineers on Intel Integrated Graphics (IGD) VGA Passthrough for Xen 4.0.1-RELEASE and pv-ops dom0 kernel 2.6.32.x
Dear Intel Engineers, I am unable to get Intel integrated graphics (IGD) VGA passthrough to work with Xen 4.0.1-rc6-pre, Xen 4.0.1-RELEASE, pv-ops dom0 kernel 2.6.32.19 and 2.6.32.21. The moment the command "xm create <Windows XP HVM guest>" is executed, the screen immediately goes blank with the label "NO SIGNAL". It may take anywhere from 3-10 minutes before
2010 Sep 11
13
Requesting Assistance from Intel Engineers on Intel Integrated Graphics (IGD) VGA Passthrough for Xen 4.0.1-RELEASE and pv-ops dom0 kernel 2.6.32.x
Dear Intel Engineers, I am unable to get Intel integrated graphics (IGD) VGA passthrough to work with Xen 4.0.1-rc6-pre, Xen 4.0.1-RELEASE, pv-ops dom0 kernel 2.6.32.19 and 2.6.32.21. The moment the command "xm create <Windows XP HVM guest>" is executed, the screen immediately goes blank with the label "NO SIGNAL". It may take anywhere from 3-10 minutes before
2020 Feb 19
2
Why are ForeignSecurityPrincipals and Managed Service Accounts empty with no entries?
Hi Rowland, I can confirm that dnsmasq is not running because I have already disabled libvirtd. ________________________________ From: samba <samba-bounces at lists.samba.org> on behalf of Rowland penny via samba <samba at lists.samba.org> Sent: Tuesday, February 18, 2020 11:03 PM To: samba at lists.samba.org <samba at lists.samba.org> Subject: Re: [Samba] Why are
2010 Aug 15
24
Xen patches merged to upstream Linux 2.6.36, plans for 2.6.37?
Hello, It looks like upstream linux-2.6.git contains at least the following xen related new features for Linux 2.6.36: - Xen-SWIOTLB support (required for Xen PCI passthru and dom0) - Xen PV-on-HVM drivers - Xen VBD online dynamic resize of guest disks (xvd*) Congratulations! What are the plans for 2.6.37 merge window? I believe at least: - Xen PCI frontend Others? I''m going to