)]}'
{
  "commit": "a54561be5588ac9b16d3c20760b9b554168bb8aa",
  "tree": "b93dda600e986654b07c4fc10221206734ba1996",
  "parents": [
    "5cc233e98b74c5c370de888198a2b35200d55468"
  ],
  "author": {
    "name": "Peter Seiderer",
    "email": "pseiderer@users.noreply.github.com",
    "time": "Thu Oct 31 21:26:27 2019 +0100"
  },
  "committer": {
    "name": "Florian Loitsch",
    "email": "florian@loitsch.com",
    "time": "Thu Oct 31 21:26:27 2019 +0100"
  },
  "message": "Pseiderer/add nios2 and xtensa 001 (#119)\n\n* double-conversion: enable for nios2\r\n\r\nNios2 supports double conversion, tested using qemu:\r\n\r\n./main || echo \"correct\"\r\ncorrect\r\nuname -a\r\nLinux buildroot 4.19.16 #4 Sat Aug 3 14:46:48 CEST 2019 nios2 GNU/Linux\r\n\r\nSolves build error\r\n\r\nIn file included from double-conversion.h:42:0,\r\n                 from number_decimalquantity.cpp:19:\r\ndouble-conversion-utils.h:119:2: error: #error Target architecture was not detected as supported by Double-Conversion.\r\n #error Target architecture was not detected as supported by Double-Conversion.\r\n\r\ndetected by buildroot autobuilders:\r\nhttp://autobuild.buildroot.net/results/91e/91eaec34708d91f8a05af189243be0b7cabce31b/\r\n\r\nPatch sent upstream: https://github.com/unicode-org/icu/pull/725\r\nBug report: https://unicode-org.atlassian.net/browse/ICU-20751\r\n\r\n[Bernd: Fixed path]\r\nSigned-off-by: Bernd Kuhls \u003cbernd.kuhls@t-online.de\u003e\r\n[Added Changelog entry]\r\nSigned-off-by: Peter Seiderer \u003cps.report@gmx.net\u003e\r\n\r\n* double-conversion: enable for xtensa\r\n\r\nSigned-off-by: Peter Seiderer \u003cps.report@gmx.net\u003e\r\n---\r\nNote:\r\n\r\nDouble-conversion tested with:\r\n\r\n        $ cat div.c\r\ndouble Div_double(double x, double y) { return x / y; }\r\n\r\n        $ cat main.c\r\ndouble Div_double(double x, double y);\r\n\r\nint main(int argc, char** argv) {\r\n  double result \u003d Div_double(89255.0, 1e22);\r\n  if (result \u003d\u003d 89255e-22) {\r\n    printf(\"correct result %e\\n\", result);\r\n    return 1;\r\n  } else {\r\n    printf(\"wrong result %e\\n\", result);\r\n    return 0;\r\n  }\r\n}\r\n\r\nTested for xtensa (using qemu_xtensa_lx60_defconfig plus BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE):\r\n\r\n        $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c div.c\r\n        $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c main.c\r\n        $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -o main main.o div.o\r\n\r\n        $ ./host/bin/qemu-xtensa -L staging main\r\ncorrect result 8.925500e-18\r\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5b54d544d40c1c2444e9ccb8e805bbf52c971a9a",
      "old_mode": 33188,
      "old_path": "Changelog",
      "new_id": "b5ca3e8129d3c39db1414753d95d9bb6773298a1",
      "new_mode": 33188,
      "new_path": "Changelog"
    },
    {
      "type": "modify",
      "old_id": "221467ff7a28ad59156980fddd941dcd8e0143d3",
      "old_mode": 33188,
      "old_path": "double-conversion/utils.h",
      "new_id": "98ec28bd01fbec4ed1361555a449f35d0989f960",
      "new_mode": 33188,
      "new_path": "double-conversion/utils.h"
    }
  ]
}
