Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/freebsd-doc/boooks_developers-handbook/es_CL/units/?format=api&page=43
https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/units/?format=api&page=44", "previous": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/units/?format=api&page=42", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Initialize a counter to <constant>0</constant>." ], "previous_source": "", "target": [ "" ], "id_hash": 6980301244482927137, "content_hash": 6980301244482927137, "location": "book.translate.xml:13424", "context": "", "note": "(itstool) path: step/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2112, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/107642/?format=api", "priority": 100, "id": 225313, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=e0df02ffa69f3a21", "url": "https://translate-dev.freebsd.org/api/units/225313/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.369870Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "While the number is greater than or equal to <constant>10000</constant>, divide it by <constant>10</constant> and increase the counter." ], "previous_source": "", "target": [ "" ], "id_hash": 180576630094584987, "content_hash": 180576630094584987, "location": "book.translate.xml:13429", "context": "", "note": "(itstool) path: step/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2113, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/107643/?format=api", "priority": 100, "id": 225314, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=8281897d03865c9b", "url": "https://translate-dev.freebsd.org/api/units/225314/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.377078Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Output the result." ], "previous_source": "", "target": [ "" ], "id_hash": 2911411928135348534, "content_hash": 2911411928135348534, "location": "book.translate.xml:13436", "context": "", "note": "(itstool) path: step/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2114, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/107644/?format=api", "priority": 100, "id": 225315, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=a86769b92b57b136", "url": "https://translate-dev.freebsd.org/api/units/225315/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.383869Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "While the counter is greater than <constant>0</constant>, output <constant>0</constant> and decrease the counter." ], "previous_source": "", "target": [ "" ], "id_hash": -1964522261755196524, "content_hash": -1964522261755196524, "location": "book.translate.xml:13440", "context": "", "note": "(itstool) path: step/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2115, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate-dev.freebsd.org/api/units/107645/?format=api", "priority": 100, "id": 225316, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=64bc9d6952bc0b94", "url": "https://translate-dev.freebsd.org/api/units/225316/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.391210Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "The <constant>10000</constant> is only good if you want <emphasis>four</emphasis> significant digits. For any other number of significant digits, replace <constant>10000</constant> with <constant>10</constant> raised to the number of significant digits." ], "previous_source": "", "target": [ "" ], "id_hash": -1467414731209531320, "content_hash": -1467414731209531320, "location": "book.translate.xml:13447", "context": "", "note": "(itstool) path: note/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2116, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/107646/?format=api", "priority": 100, "id": 225317, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=6ba2b213a014a048", "url": "https://translate-dev.freebsd.org/api/units/225317/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.401628Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "We will, then, output the pinhole diameter in microns, rounded off to four significant digits." ], "previous_source": "", "target": [ "" ], "id_hash": -8523318472882666563, "content_hash": -8523318472882666563, "location": "book.translate.xml:13454", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2117, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate-dev.freebsd.org/api/units/107647/?format=api", "priority": 100, "id": 225318, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=09b71701e44dc3bd", "url": "https://translate-dev.freebsd.org/api/units/225318/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.409022Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "At this point, we know the <emphasis>focal length</emphasis> and the <emphasis>pinhole diameter</emphasis>. That means we have enough information to also calculate the <emphasis>f–number</emphasis>." ], "previous_source": "", "target": [ "" ], "id_hash": 3080320332321754560, "content_hash": 3080320332321754560, "location": "book.translate.xml:13457", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2118, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate-dev.freebsd.org/api/units/107648/?format=api", "priority": 100, "id": 225319, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=aabf7f05a2738dc0", "url": "https://translate-dev.freebsd.org/api/units/225319/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.416315Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "We will display the f–number, rounded to four significant digits. Chances are the f–number will tell us very little. To make it more meaningful, we can find the nearest <emphasis>normalized f–number</emphasis>, i.e., the nearest power of the square root of 2." ], "previous_source": "", "target": [ "" ], "id_hash": 442045041985900619, "content_hash": 442045041985900619, "location": "book.translate.xml:13463", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2119, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 41, "source_unit": "https://translate-dev.freebsd.org/api/units/107649/?format=api", "priority": 100, "id": 225320, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=8622759fa64ad04b", "url": "https://translate-dev.freebsd.org/api/units/225320/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.424675Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "We do that by multiplying the actual f–number by itself, which, of course, will give us its <function>square</function>. We will then calculate its base–2 logarithm, which is much easier to do than calculating the base–square–root–of–2 logarithm! We will round the result to the nearest integer. Next, we will raise 2 to the result. Actually, the <acronym>FPU</acronym> gives us a good shortcut to do that: We can use the <function role=\"opcode\">fscale</function> op code to \"scale\" 1, which is analogous to <function role=\"opcode\">shift</function>ing an integer left. Finally, we calculate the square root of it all, and we have the nearest normalized f–number." ], "previous_source": "", "target": [ "" ], "id_hash": 2363798204289642068, "content_hash": 2363798204289642068, "location": "book.translate.xml:13470", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2120, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 100, "source_unit": "https://translate-dev.freebsd.org/api/units/107650/?format=api", "priority": 100, "id": 225321, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=a0cde5f15f63ee54", "url": "https://translate-dev.freebsd.org/api/units/225321/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.432920Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "If all that sounds overwhelming—or too much work, perhaps—it may become much clearer if you see the code. It takes 9 op codes altogether:" ], "previous_source": "", "target": [ "" ], "id_hash": 4626004507837070018, "content_hash": 4626004507837070018, "location": "book.translate.xml:13484", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2121, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate-dev.freebsd.org/api/units/107651/?format=api", "priority": 100, "id": 225322, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=c032de971afbfac2", "url": "https://translate-dev.freebsd.org/api/units/225322/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.440060Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "fmul\tst0, st0\n\tfld1\n\tfld\tst1\n\tfyl2x\n\tfrndint\n\tfld1\n\tfscale\n\tfsqrt\n\tfstp\tst1" ], "previous_source": "", "target": [ "" ], "id_hash": -4091184502679007504, "content_hash": -4091184502679007504, "location": "book.translate.xml:13488", "context": "", "note": "(itstool) path: sect3/programlisting", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2122, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate-dev.freebsd.org/api/units/92252/?format=api", "priority": 100, "id": 225323, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=4739315eef3c0ef0", "url": "https://translate-dev.freebsd.org/api/units/225323/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.447650Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "The first line, <function role=\"opcode\">fmul st0, st0</function>, squares the contents of the <acronym>TOS</acronym> (top of the stack, same as <varname role=\"register\">st</varname>, called <varname role=\"register\">st0</varname> by <application>nasm</application>). The <function role=\"opcode\">fld1</function> pushes <constant>1</constant> on the <acronym>TOS</acronym>." ], "previous_source": "", "target": [ "" ], "id_hash": -8611354412088659163, "content_hash": -8611354412088659163, "location": "book.translate.xml:13498", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2123, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate-dev.freebsd.org/api/units/107652/?format=api", "priority": 100, "id": 225324, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=087e52c980767325", "url": "https://translate-dev.freebsd.org/api/units/225324/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.455208Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "The next line, <function role=\"opcode\">fld st1</function>, pushes the square back to the <acronym>TOS</acronym>. At this point the square is both in <varname role=\"register\">st</varname> and <varname role=\"register\">st(2)</varname> (it will become clear why we leave a second copy on the stack in a moment). <varname role=\"register\">st(1)</varname> contains <constant>1</constant>." ], "previous_source": "", "target": [ "" ], "id_hash": 987897372673082550, "content_hash": 987897372673082550, "location": "book.translate.xml:13506", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2124, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 46, "source_unit": "https://translate-dev.freebsd.org/api/units/107653/?format=api", "priority": 100, "id": 225325, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=8db5b76d24b884b6", "url": "https://translate-dev.freebsd.org/api/units/225325/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.462182Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Next, <function role=\"opcode\">fyl2x</function> calculates base–2 logarithm of <varname role=\"register\">st</varname> multiplied by <varname role=\"register\">st(1)</varname>. That is why we placed <constant>1</constant> on <varname role=\"register\">st(1)</varname> before." ], "previous_source": "", "target": [ "" ], "id_hash": -55057253748561140, "content_hash": -55057253748561140, "location": "book.translate.xml:13514", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2125, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate-dev.freebsd.org/api/units/107654/?format=api", "priority": 100, "id": 225326, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=7f3c65b82c022b0c", "url": "https://translate-dev.freebsd.org/api/units/225326/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.480016Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "At this point, <varname role=\"register\">st</varname> contains the logarithm we have just calculated, <varname role=\"register\">st(1)</varname> contains the square of the actual f–number we saved for later." ], "previous_source": "", "target": [ "" ], "id_hash": 3755469155783227714, "content_hash": 3755469155783227714, "location": "book.translate.xml:13519", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2126, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate-dev.freebsd.org/api/units/107655/?format=api", "priority": 100, "id": 225327, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=b41e1b4cc3653942", "url": "https://translate-dev.freebsd.org/api/units/225327/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.486734Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "<function role=\"opcode\">frndint</function> rounds the <acronym>TOS</acronym> to the nearest integer. <function role=\"opcode\">fld1</function> pushes a <constant>1</constant>. <function role=\"opcode\">fscale</function> shifts the <constant>1</constant> we have on the <acronym>TOS</acronym> by the value in <varname role=\"register\">st(1)</varname>, effectively raising 2 to <varname role=\"register\">st(1)</varname>." ], "previous_source": "", "target": [ "" ], "id_hash": 3767844606187069047, "content_hash": 3767844606187069047, "location": "book.translate.xml:13523", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2127, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 36, "source_unit": "https://translate-dev.freebsd.org/api/units/107656/?format=api", "priority": 100, "id": 225328, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=b44a12b4d8a6de77", "url": "https://translate-dev.freebsd.org/api/units/225328/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.493977Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Finally, <function role=\"opcode\">fsqrt</function> calculates the square root of the result, i.e., the nearest normalized f–number." ], "previous_source": "", "target": [ "" ], "id_hash": -6179792189097635202, "content_hash": -6179792189097635202, "location": "book.translate.xml:13530", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2128, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate-dev.freebsd.org/api/units/107657/?format=api", "priority": 100, "id": 225329, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=2a3cf7bef71a127e", "url": "https://translate-dev.freebsd.org/api/units/225329/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.502812Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "We now have the nearest normalized f–number on the <acronym>TOS</acronym>, the base–2 logarithm rounded to the nearest integer in <varname role=\"register\">st(1)</varname>, and the square of the actual f–number in <varname role=\"register\">st(2)</varname>. We are saving the value in <varname role=\"register\">st(2)</varname> for later." ], "previous_source": "", "target": [ "" ], "id_hash": 2879884163239167325, "content_hash": 2879884163239167325, "location": "book.translate.xml:13534", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2129, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 41, "source_unit": "https://translate-dev.freebsd.org/api/units/107658/?format=api", "priority": 100, "id": 225330, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=a7f767636024c55d", "url": "https://translate-dev.freebsd.org/api/units/225330/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.510033Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "But we do not need the contents of <varname role=\"register\">st(1)</varname> anymore. The last line, <function role=\"opcode\">fstp st1</function>, places the contents of <varname role=\"register\">st</varname> to <varname role=\"register\">st(1)</varname>, and pops. As a result, what was <varname role=\"register\">st(1)</varname> is now <varname role=\"register\">st</varname>, what was <varname role=\"register\">st(2)</varname> is now <varname role=\"register\">st(1)</varname>, etc. The new <varname role=\"register\">st</varname> contains the normalized f–number. The new <varname role=\"register\">st(1)</varname> contains the square of the actual f–number we have stored there for posterity." ], "previous_source": "", "target": [ "" ], "id_hash": 5625734228262589584, "content_hash": 5625734228262589584, "location": "book.translate.xml:13541", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2130, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 73, "source_unit": "https://translate-dev.freebsd.org/api/units/107659/?format=api", "priority": 100, "id": 225331, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=ce129f7964591490", "url": "https://translate-dev.freebsd.org/api/units/225331/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.517396Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "At this point, we are ready to output the normalized f–number. Because it is normalized, we will not round it off to four significant digits, but will send it out in its full precision." ], "previous_source": "", "target": [ "" ], "id_hash": -8203564430774900584, "content_hash": -8203564430774900584, "location": "book.translate.xml:13552", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2131, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate-dev.freebsd.org/api/units/107660/?format=api", "priority": 100, "id": 225332, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=0e27159d53a1e898", "url": "https://translate-dev.freebsd.org/api/units/225332/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.523940Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "The normalized f-number is useful as long as it is reasonably small and can be found on our light meter. Otherwise we need a different method of determining proper exposure." ], "previous_source": "", "target": [ "" ], "id_hash": -7405414089624555576, "content_hash": -7405414089624555576, "location": "book.translate.xml:13557", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2132, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://translate-dev.freebsd.org/api/units/107661/?format=api", "priority": 100, "id": 225333, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=193aaf1efd416fc8", "url": "https://translate-dev.freebsd.org/api/units/225333/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.541188Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Earlier we have figured out the formula of calculating proper exposure at an arbitrary f–number from that measured at a different f–number." ], "previous_source": "", "target": [ "" ], "id_hash": 7937372065583017906, "content_hash": 7937372065583017906, "location": "book.translate.xml:13562", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2133, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate-dev.freebsd.org/api/units/107662/?format=api", "priority": 100, "id": 225334, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=ee2735d6f32f2fb2", "url": "https://translate-dev.freebsd.org/api/units/225334/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.550600Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Every light meter I have ever seen can determine proper exposure at f5.6. We will, therefore, calculate an <emphasis>\"f5.6 multiplier,\"</emphasis> i.e., by how much we need to multiply the exposure measured at f5.6 to determine the proper exposure for our pinhole camera." ], "previous_source": "", "target": [ "" ], "id_hash": 2156470033227604267, "content_hash": 2156470033227604267, "location": "book.translate.xml:13566", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2134, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 42, "source_unit": "https://translate-dev.freebsd.org/api/units/107663/?format=api", "priority": 100, "id": 225335, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=9ded5211db4e612b", "url": "https://translate-dev.freebsd.org/api/units/225335/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.557119Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "From the above formula we know this factor can be calculated by dividing our f–number (the actual one, not the normalized one) by <constant>5.6</constant>, and squaring the result." ], "previous_source": "", "target": [ "" ], "id_hash": -3504754305938641872, "content_hash": -3504754305938641872, "location": "book.translate.xml:13573", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2135, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 28, "source_unit": "https://translate-dev.freebsd.org/api/units/107664/?format=api", "priority": 100, "id": 225336, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=4f5c9c871981ac30", "url": "https://translate-dev.freebsd.org/api/units/225336/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.564589Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Mathematically, dividing the square of our f–number by the square of <constant>5.6</constant> will give us the same result." ], "previous_source": "", "target": [ "" ], "id_hash": -3280065384999780046, "content_hash": -3280065384999780046, "location": "book.translate.xml:13578", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2136, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/107665/?format=api", "priority": 100, "id": 225337, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=527adde92f088132", "url": "https://translate-dev.freebsd.org/api/units/225337/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.571503Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Computationally, we do not want to square two numbers when we can only square one. So, the first solution seems better at first." ], "previous_source": "", "target": [ "" ], "id_hash": -5437672337773623387, "content_hash": -5437672337773623387, "location": "book.translate.xml:13582", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2137, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate-dev.freebsd.org/api/units/107666/?format=api", "priority": 100, "id": 225338, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=348981d19e0907a5", "url": "https://translate-dev.freebsd.org/api/units/225338/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.584817Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "<constant>5.6</constant> is a <emphasis>constant</emphasis>. We do not have to have our <acronym>FPU</acronym> waste precious cycles. We can just tell it to divide the square of the f–number by whatever <constant>5.6²</constant> equals to. Or we can divide the f–number by <constant>5.6</constant>, and then square the result. The two ways now seem equal." ], "previous_source": "", "target": [ "" ], "id_hash": 7846341516013340695, "content_hash": 7846341516013340695, "location": "book.translate.xml:13588", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2138, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 51, "source_unit": "https://translate-dev.freebsd.org/api/units/107667/?format=api", "priority": 100, "id": 225339, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=ece3ce0980600817", "url": "https://translate-dev.freebsd.org/api/units/225339/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.591387Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "But, they are not!" ], "previous_source": "", "target": [ "" ], "id_hash": 5891264316276649234, "content_hash": 5891264316276649234, "location": "book.translate.xml:13597", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2139, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/107668/?format=api", "priority": 100, "id": 225340, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=d1c1f9aeb19aad12", "url": "https://translate-dev.freebsd.org/api/units/225340/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.599701Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Having studied the principles of photography above, we remember that the <constant>5.6</constant> is actually square root of 2 raised to the fifth power. An <emphasis>irrational</emphasis> number. The square of this number is <emphasis>exactly</emphasis> <constant>32</constant>." ], "previous_source": "", "target": [ "" ], "id_hash": 6445515622990180408, "content_hash": 6445515622990180408, "location": "book.translate.xml:13599", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2140, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate-dev.freebsd.org/api/units/107669/?format=api", "priority": 100, "id": 225341, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=d973124f2e8f7038", "url": "https://translate-dev.freebsd.org/api/units/225341/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.609884Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Not only is <constant>32</constant> an integer, it is a power of 2. We do not need to divide the square of the f–number by <constant>32</constant>. We only need to use <function role=\"opcode\">fscale</function> to shift it right by five positions. In the <acronym>FPU</acronym> lingo it means we will <function role=\"opcode\">fscale</function> it with <varname role=\"register\">st(1)</varname> equal to <constant>-5</constant>. That is <emphasis>much faster</emphasis> than a division." ], "previous_source": "", "target": [ "" ], "id_hash": 3312875118141753756, "content_hash": 3312875118141753756, "location": "book.translate.xml:13606", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2141, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 63, "source_unit": "https://translate-dev.freebsd.org/api/units/107670/?format=api", "priority": 100, "id": 225342, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=adf9b25e1a11c99c", "url": "https://translate-dev.freebsd.org/api/units/225342/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.618568Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "So, now it has become clear why we have saved the square of the f–number on the top of the <acronym>FPU</acronym> stack. The calculation of the f5.6 multiplier is the easiest calculation of this entire program! We will output it rounded to four significant digits." ], "previous_source": "", "target": [ "" ], "id_hash": -5156536948575703013, "content_hash": -5156536948575703013, "location": "book.translate.xml:13615", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2142, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 45, "source_unit": "https://translate-dev.freebsd.org/api/units/107671/?format=api", "priority": 100, "id": 225343, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=38704cf73cf7f01b", "url": "https://translate-dev.freebsd.org/api/units/225343/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.630044Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "There is one more useful number we can calculate: The number of stops our f–number is from f5.6. This may help us if our f–number is just outside the range of our light meter, but we have a shutter which lets us set various speeds, and this shutter uses stops." ], "previous_source": "", "target": [ "" ], "id_hash": 9106124903246464960, "content_hash": 9106124903246464960, "location": "book.translate.xml:13622", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2143, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 50, "source_unit": "https://translate-dev.freebsd.org/api/units/107672/?format=api", "priority": 100, "id": 225344, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=fe5f745a6a5807c0", "url": "https://translate-dev.freebsd.org/api/units/225344/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.644305Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Say, our f–number is 5 stops from f5.6, and the light meter says we should use 1/1000 sec. Then we can set our shutter speed to 1/1000 first, then move the dial by 5 stops." ], "previous_source": "", "target": [ "" ], "id_hash": -567499781759901878, "content_hash": -567499781759901878, "location": "book.translate.xml:13628", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2144, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://translate-dev.freebsd.org/api/units/107673/?format=api", "priority": 100, "id": 225345, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=781fd5f48a16df4a", "url": "https://translate-dev.freebsd.org/api/units/225345/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.652382Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "This calculation is quite easy as well. All we have to do is to calculate the base-2 logarithm of the f5.6 multiplier we had just calculated (though we need its value from before we rounded it off). We then output the result rounded to the nearest integer. We do not need to worry about having more than four significant digits in this one: The result is most likely to have only one or two digits anyway." ], "previous_source": "", "target": [ "" ], "id_hash": -3439975233069712653, "content_hash": -3439975233069712653, "location": "book.translate.xml:13633", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2145, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 76, "source_unit": "https://translate-dev.freebsd.org/api/units/107674/?format=api", "priority": 100, "id": 225346, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=5042c0c054bcfaf3", "url": "https://translate-dev.freebsd.org/api/units/225346/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.664303Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "FPU Optimizations" ], "previous_source": "", "target": [ "" ], "id_hash": -7231818209246006265, "content_hash": -7231818209246006265, "location": "book.translate.xml:13645", "context": "", "note": "(itstool) path: sect2/title", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2146, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/107675/?format=api", "priority": 100, "id": 225347, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=1ba36ba78db0b407", "url": "https://translate-dev.freebsd.org/api/units/225347/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.671706Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "In assembly language we can optimize the <acronym>FPU</acronym> code in ways impossible in high languages, including C." ], "previous_source": "", "target": [ "" ], "id_hash": 7028503342464191154, "content_hash": 7028503342464191154, "location": "book.translate.xml:13647", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2147, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate-dev.freebsd.org/api/units/107676/?format=api", "priority": 100, "id": 225348, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=e18a428d26394ab2", "url": "https://translate-dev.freebsd.org/api/units/225348/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.683375Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Whenever a C function needs to calculate a floating–point value, it loads all necessary variables and constants into <acronym>FPU</acronym> registers. It then does whatever calculation is required to get the correct result. Good C compilers can optimize that part of the code really well." ], "previous_source": "", "target": [ "" ], "id_hash": 7097687243821198784, "content_hash": 7097687243821198784, "location": "book.translate.xml:13651", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2148, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 44, "source_unit": "https://translate-dev.freebsd.org/api/units/107677/?format=api", "priority": 100, "id": 225349, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=e2800cf16ec8adc0", "url": "https://translate-dev.freebsd.org/api/units/225349/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.694584Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "It \"returns\" the value by leaving the result on the <acronym>TOS</acronym>. However, before it returns, it cleans up. Any variables and constants it used in its calculation are now gone from the <acronym>FPU</acronym>." ], "previous_source": "", "target": [ "" ], "id_hash": 8772594334384879649, "content_hash": 8772594334384879649, "location": "book.translate.xml:13658", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2149, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate-dev.freebsd.org/api/units/107678/?format=api", "priority": 100, "id": 225350, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=f9be8411639d7821", "url": "https://translate-dev.freebsd.org/api/units/225350/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.701581Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "It cannot do what we just did above: We calculated the square of the f–number and kept it on the stack for later use by another function." ], "previous_source": "", "target": [ "" ], "id_hash": 1769300496684309844, "content_hash": 1769300496684309844, "location": "book.translate.xml:13664", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2150, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate-dev.freebsd.org/api/units/107679/?format=api", "priority": 100, "id": 225351, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=988dd16d75ca5d54", "url": "https://translate-dev.freebsd.org/api/units/225351/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.710285Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "We <emphasis>knew</emphasis> we would need that value later on. We also knew we had enough room on the stack (which only has room for 8 numbers) to store it there." ], "previous_source": "", "target": [ "" ], "id_hash": 5741852902169948805, "content_hash": 5741852902169948805, "location": "book.translate.xml:13668", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2151, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://translate-dev.freebsd.org/api/units/107680/?format=api", "priority": 100, "id": 225352, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=cfaf28cafa62b285", "url": "https://translate-dev.freebsd.org/api/units/225352/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.717617Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "A C compiler has no way of knowing that a value it has on the stack will be required again in the very near future." ], "previous_source": "", "target": [ "" ], "id_hash": 366653196152306439, "content_hash": 366653196152306439, "location": "book.translate.xml:13673", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2152, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate-dev.freebsd.org/api/units/107681/?format=api", "priority": 100, "id": 225353, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=85169d23a86b7b07", "url": "https://translate-dev.freebsd.org/api/units/225353/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.727568Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Of course, the C programmer may know it. But the only recourse he has is to store the value in a memory variable." ], "previous_source": "", "target": [ "" ], "id_hash": 5105895138258436357, "content_hash": 5105895138258436357, "location": "book.translate.xml:13677", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2153, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate-dev.freebsd.org/api/units/107682/?format=api", "priority": 100, "id": 225354, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=c6dbc8937849c105", "url": "https://translate-dev.freebsd.org/api/units/225354/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.735979Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "That means, for one, the value will be changed from the 80-bit precision used internally by the <acronym>FPU</acronym> to a C <emphasis>double</emphasis> (64 bits) or even <emphasis>single</emphasis> (32 bits)." ], "previous_source": "", "target": [ "" ], "id_hash": -8473406416203843339, "content_hash": -8473406416203843339, "location": "book.translate.xml:13681", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2154, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/107683/?format=api", "priority": 100, "id": 225355, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=0a6869c22ca778f5", "url": "https://translate-dev.freebsd.org/api/units/225355/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.743921Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "That also means that the value must be moved from the <acronym>TOS</acronym> into the memory, and then back again. Alas, of all <acronym>FPU</acronym> operations, the ones that access the computer memory are the slowest." ], "previous_source": "", "target": [ "" ], "id_hash": 5973274387404212580, "content_hash": 5973274387404212580, "location": "book.translate.xml:13687", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2155, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate-dev.freebsd.org/api/units/107684/?format=api", "priority": 100, "id": 225356, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=d2e55568572ac964", "url": "https://translate-dev.freebsd.org/api/units/225356/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.751053Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "So, whenever programming the <acronym>FPU</acronym> in assembly language, look for the ways of keeping intermediate results on the <acronym>FPU</acronym> stack." ], "previous_source": "", "target": [ "" ], "id_hash": -988919825105767884, "content_hash": -988919825105767884, "location": "book.translate.xml:13692", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2156, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://translate-dev.freebsd.org/api/units/107685/?format=api", "priority": 100, "id": 225357, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=7246a6a8993ab234", "url": "https://translate-dev.freebsd.org/api/units/225357/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.758276Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "We can take that idea even further! In our program we are using a <emphasis>constant</emphasis> (the one we named <constant>PC</constant>)." ], "previous_source": "", "target": [ "" ], "id_hash": -8064811438628566868, "content_hash": -8064811438628566868, "location": "book.translate.xml:13696", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2157, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://translate-dev.freebsd.org/api/units/107686/?format=api", "priority": 100, "id": 225358, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=101408b9cc0988ac", "url": "https://translate-dev.freebsd.org/api/units/225358/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.766030Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "It does not matter how many pinhole diameters we are calculating: 1, 10, 20, 1000, we are always using the same constant. Therefore, we can optimize our program by keeping the constant on the stack all the time." ], "previous_source": "", "target": [ "" ], "id_hash": 6742906599422310453, "content_hash": 6742906599422310453, "location": "book.translate.xml:13700", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2158, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 38, "source_unit": "https://translate-dev.freebsd.org/api/units/107687/?format=api", "priority": 100, "id": 225359, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=dd939dd3a4343835", "url": "https://translate-dev.freebsd.org/api/units/225359/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.773276Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "Early on in our program, we are calculating the value of the above constant. We need to divide our input by <constant>10</constant> for every digit in the constant." ], "previous_source": "", "target": [ "" ], "id_hash": -4281944639053031985, "content_hash": -4281944639053031985, "location": "book.translate.xml:13705", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2159, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 28, "source_unit": "https://translate-dev.freebsd.org/api/units/107688/?format=api", "priority": 100, "id": 225360, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=44937a09995b15cf", "url": "https://translate-dev.freebsd.org/api/units/225360/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.780651Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "It is much faster to multiply than to divide. So, at the start of our program, we divide <constant>10</constant> into <constant>1</constant> to obtain <constant>0.1</constant>, which we then keep on the stack: Instead of dividing the input by <constant>10</constant> for every digit, we multiply it by <constant>0.1</constant>." ], "previous_source": "", "target": [ "" ], "id_hash": -4809719098145789852, "content_hash": -4809719098145789852, "location": "book.translate.xml:13710", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2160, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 46, "source_unit": "https://translate-dev.freebsd.org/api/units/107689/?format=api", "priority": 100, "id": 225361, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=3d4071f6959ba864", "url": "https://translate-dev.freebsd.org/api/units/225361/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.788900Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/es_CL/?format=api", "source": [ "By the way, we do not input <constant>0.1</constant> directly, even though we could. We have a reason for that: While <constant>0.1</constant> can be expressed with just one decimal place, we do not know how many <emphasis>binary</emphasis> places it takes. We, therefore, let the <acronym>FPU</acronym> calculate its binary value to its own high precision." ], "previous_source": "", "target": [ "" ], "id_hash": -2611228202075354943, "content_hash": -2611228202075354943, "location": "book.translate.xml:13718", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2161, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 53, "source_unit": "https://translate-dev.freebsd.org/api/units/107690/?format=api", "priority": 100, "id": 225362, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/es_CL/?checksum=5bc30dc8fbd108c1", "url": "https://translate-dev.freebsd.org/api/units/225362/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-11T23:51:26.796554Z" } ] }{ "count": 2274, "next": "