Floating Point Overflow Error Printing
Edit 2 … 0 Tags No tags Notify RSS Backlinks Source Print Export (PDF) Error - Floating Point Overflow Table of Contents Explanation Procedure/Walk-Through Resolution See Also Explanation Procedure/Walk-Through Check to see if the customer is using an HP2600nIf so, they need to choose a different computer Note: This link has been closed by HP. May be fixed with new drivers???You can give them the following link to explain the problem (HP2600n has issues with Delphi, the language we use) http://forums1.itrc.hp.com/service/...211091+28353475 Resolution Switch -HP2600Fix can be added to options.txt file or shortcuts in Control 3.1 and greater to workaround the issue. Alternatively, there these steps may resolve the problem as well. These are some steps that one user tried that ultimately worked for them. Uninstall the HP Color Laserjet software with the drive.Eliminate the USB cable and use only a Lan cable (if using more than one workstation, use a switch).Re-install the printer software and printer as a local printer using the Standard TCP/IP port connection.Do not share the printer in the sharing option, now that it is connected to a Lan.If you need to install on client machine, install the printer's software on each client and install the printer as a local printer using the Standard TCP/IP Port connection. See Also Backlinks Page Date Edited Error - Floating Point Overflow Jan 26, 2011 Printer Driver related problems Oct 25, 2011 Javascript Required You need to enable Javascript in your browser to edit pages. help on how to format text Turn off "Getting Started" Home ... Loading...
"A" - worked fine with version 2.78.01 printing to a network printer HP CLJ 2600NPC "B" - new install with version 2.89.01 produced the msg. Floating Point OverflowNew events:PC "A" - updated from 2.78.01 to 2.89.01 and printed fine to HP2600NPC "B" - uninstall & reinstall 2.89.01 - same message. No print.Printers on LAN system:HP Laser ColorJet 2600N using RJ45 as a network printer with drivers on PC "A"HP OfficeJet G55 using USB as a shared printer with drivers on PC "A"HP LaserJet 6P using parallel port as a shared printer with drivers on PC http://support.cyriouswiki.com/Error+-+Floating+Point+Overflow "A"These printers are used from the mentioned "A" & "B" and both computers can print from any windows based program with no issues, other than SCREENSHOT CAPTOR.Additional tests:PC "A" - 2.89.01 Image Prints to any one of the three printers.PC "B" - 2.89.01 Image Prints to G55 & 6P, but not to 2600N, whether it's default or chosen from the list of printers in the dialog window. I http://www.donationcoder.com/forum/index.php?topic=25520.5;wap2 hope I explained that clear enough to understand. worstje: I am not mouser, but if I were devving a program with this sort of error, I'd be interested in knowing how PC "B" acts when you install 2.78.01 on that one and print from it. If that also causes the error it would not be a 'new' bug but instead either a very old one that never got noticed, or a bug in the printer driver that only SC triggers. mouser: what worstje is asking would be useful.. however i also see a new release of the graphics library i use, so let me try building a new version of SC this weekend and let's see if we get lucky and it fixes the issue. redwingnut: As a reminder, I had reported that a "Floating Point" error was generated when I attempted to print to a shared printer (HP2600N) on my home LAN setup if the PC requesting the print DID NOT have the full drivers installed on it. But, other shared printers printed just fine. Only the one PC with the full driver install could print to the HP2600.Here's how I have my system setup at home:PC "A" i
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring http://stackoverflow.com/questions/29869756/nasm-floating-point-reading-and-printing-error developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Nasm floating point reading and printing error up vote 1 down vote favorite This is the code I wrote for reading 2 floating point numbers and stored it in the memory. Then floating point I load it from memory and print it. However, I'm getting wrong value for first number when printing it. But the I'm getting correct value for second number. I dont know what is going wrong in this code. Please help. SECTION .data message1: db "Enter the first number: ", 0 message2: db "Enter the second number: ", 0 formatin: db "%lf", 0 formatout: db "%lf", 10, 0 ; newline, nul terminator section .bss f1: resd 1 f2: resd 1 SECTION floating point overflow .text global main extern scanf extern printf main: push message1 call printf add esp, 4 push f1 push formatin call scanf add esp, 8 push message2 call printf add esp, 4 push f2 push formatin call scanf add esp, 8 fld qword[f1] sub esp, 4 fst qword[esp] push formatout call printf add esp, 8 fld qword[f2] sub esp, 4 fst qword[esp] push formatout call printf add esp, 8 mov eax,1 mov ebx,0 int 80h assembly floating-point nasm share|improve this question asked Apr 25 '15 at 19:32 anasanzari 41 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote try to use RESQ instead of RESD f1: resq 1 f2: resq 1 share|improve this answer answered Apr 25 '15 at 19:51 Alexis Lavaud 161 add a comment| up vote 0 down vote If your going for double precission floating point numbers make the following changes. section .bss f1: resq 1 ;!!! f2: resq 1 ;!!! and also fld qword[f1] sub esp, 8 ;!!! fst qword[esp] push formatout call printf add esp, 12 ;!!! fld qword[f2] sub esp, 8 ;!!! fst qword[esp] push formatout call printf add esp, 12 ;!!! share|improve this answer answered Apr 30 '15 at 10:22 Fifoernik 4,170517 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest